Microsoft CRM speak!

April 18, 2007

Setting a field’s requirement level

Filed under: MSCRM — niths @ 7:04 am

Here are three ways to set the Requirement Level of an attribute:

1. Customizations -> Customize entity -> > -> Attributes -> > ->Required Level -> Here you can set it to Business Required, Business Recommended or No Constraint.

2. Using crmForm.SetFieldReqLevel(“>”, 0/1/2);
3. Using crmForm.all.>_c.className=’req’;
crmForm.all.>_c.setAttribute(“req/rec/none”, “0/1/2″);

HTH,
Niths

2 Comments »

  1. I changed it. When I click save, it says it is changing the attribute and then it is still required? Why?

    Comment by Joe — July 21, 2008 @ 6:12 am

  2. Are you receiving an error? Please paste your script here.

    Comment by niths — July 24, 2008 @ 10:49 pm


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.