Hiding the Primary File field in UCM
By Kyle Hatlestad on Nov 09, 2010
A month ago I wrote a post about performing a check-in to UCM without a file. Let’s take it one step further and hide the Primary File field altogether so that the contributor doesn’t have to make a choice.
First, instead of applying the AllowPrimaryMetaFile=true configuration entry to the entire instance like I wrote in the other post, we’ll apply it only to specific Profiles. Then for that same Profile, we’ll default the choice to check-in a metadata only file and hide the form fields themselves.
- Establish your Rules for your Profile in Configuration Manager applet.
- On the General tab of the Rule, check the ‘Use rule activation condition’ box and click Edit…
- Go to the Site Effects tab and add each of these Keys and Values:
Now when you display your check-in page, the fields for Primary File and Alternate file will be gone and the form will accept just metadata entries.