Previous Thread

8/18/2006 8:17:39 AM    How do I set an optional attribute to mandatory using customization.xml?
Hi All, 
 
I'm a bit confused on customization.xml and what you can and can't do 
 
with it:- 
 
I CAN set a mandatory (Business Required) field to optional (No 
 
Constraint) using some customization.xml like this: 
 
<field name="MyMandatoryAttribute" requiredlevel="na" maxlength="200" 
 
format="text"> 
 
But I CANNOT set an optional field to mandatory with this: 
 
<field name="MyOptionalAttribute" requiredlevel="required" 
 
maxlength="200" format="text"> 
 
I CAN however, set the optional field to mandatory manually via the CRM 
 
interface. 
 
(The xml import does import and publish ok, but in the second case, 
 
doesn't seem to have any effect). 
 
This is on CRM 3.0 
 
Any pointers? Am I doing something wrong? Am I missing a patch? etc. 
 
Thanks for any info.