How do you hide the “format override field” on the check-in page for some users using Profiles and Rules in UCM 11g?

Problem:
How do you hide the format override field on the check-in page for some users using Profiles and Rules?

Solution:

Create a Profile Rule using a “rule activation condition” with a defined Side Effect per the below
steps:

  1. Open the Configuration Manager admin applet.
  2. Select the Rules tab.
  3. Select the Add button.
  4. Enter a desired name and description.
  5. Select the check-box for “Is global rule with priority” and set its desired priority number.
  6. Select the check-box for “Use rule activation condition”.
  7. Select the Edit button.
  8. Add a condition with a desired name (ex. “1”).
  9. Select from the condition’s General tab, the checkboxes for Use action of “Check in New” and “Check in Selected”.
  10. Select from the condition’s Clauses tab, Field of “Type”, Operator of “Matches”, and Value of
    “<desired dDocType>”.
  11. Select from the Clauses tab, the Add button.
  12. Enter from the condition’s Side Effects tab, paste the following. The conditional statement can
    be any of the IDOC security checks: userHasRole, userHasAccessToAccount, or userHasGroupPrivilege,or other function suitable for the purpose. This example allows only users with the admin role to set the override format.

    <$if not userHasRole("admin")$>
    <$IsOverrideFormat=false$>
    <$endif$>
  13. Select the Side Effect’s tab OK button.
  14. Select the Rule’s OK button.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.