Monday, March 19, 2012

Using UCM Global Profile Rules with RIDC

The question came up on another forum:
  • Can I use profiles to validate my data input when I'm using RIDC?
Profiles can indeed be used in such a case, for example, to halt a RIDC checkin if a given metadata field is empty. 

There are a couple of prerequisite steps to follow:
  • In the Content Server general configuration, enable the following setting:
  • In the RIDC code, do not use CHECKIN_UNIVERSAL as the service call, but use CHECKIN_NEW instead.  (CHECKIN_UNIVERSAL doesn't load the profile engine.) 

Now build the rule solution.  The following bare-bones example makes the "Comments" field "required" to be a non-blank value for a new checkin.
  • In Configuration Manager. create a new global profile rule.  Set the activation conditions to "on submit" and "checkin new".
  • Add the "Comments" field to the rule.  In the "Use Derived Value" section, add the following code in the custom section:

    <$if strEquals(strTrimWs(#active.xComments),"")$>
     <$abortToErrorPage("Cannot submit item without any comments provided.")$>
  • Save the rule and exit Configuration Manager.
  • To test the solution, execute your RIDC code without providing any comments.  If you didn't provide any comments, the error message thrown is "Cannot submit item without any comments provided."


  1. How about you check out this info. Its almost all about writing argumentative essay but I think that you will like it.

  2. The information you share is very useful. It is closely related to my work and has helped me grow. Thank you!
    ludo game

  3. If you couldn't know about windows shortcut keys. Then visit on this website. This website helps you to know about windows shortcut keys.

  4. The team of furniture transport company in Jazan is trained at the highest level and by the largest foreign experts from the United States of America, China and Australia and specialists in the field of moving furniture without any risk and following the correct and correct methods. The company also offers its team intensive training courses and courses in ways Moving the furniture in a proper and correct manner that satisfies the customer in an unexpected way.
    شركة نقل عفش
    شركة نقل اثاث من الرياض الى جدة

    شركة نقل عفش من الرياض الى جدة
    شركة نقل عفش بمكة

  5. Become have become so thoughtless nowadays. This outcomes to upgrade he number of cases . The spike in expanding step by step cap is genuinely a disturbing circumstance for us. But we can visit the site for our help. To wear covers and use sanitizers alongside keep up the social distance. Expectation with the goal that we will better step by step.

  6. If you want to start earning now, just start playing at online casinos. When you can get the biggest couch potato slot bonuses. I can teach you how to make the right bets that can raise your financial status. You will be a great successful player

  7. Conducting new hire training to make sure
    the in-field technicians are trained on latest installation techniques.

    Work closely with Engineering and Installation teams

  8. What a top notch information you’ve shared.. Thank you for this. Apply online for Azerbaijan online visa to travel Azerbaijan. Get visa online with 24/7 customer support.

  9. Nowadays, people have gotten so careless. This leads to an increase in the number of instances. The increase in step-by-step cap expansion is a very concerning situation for us. However, we might seek assistance from the website Best Coursework Writing Company. To retain the social distance by wearing coverings and using hand sanitizers. Expectations with the purpose of improving step by step.

  10. Go to and listen to quality music!

  11. To reduce the house advantage and improve your chances of winning, there are betting strategies and techniques available. Consider your options, follow this link and have a look around since some methods are more effective than others.