Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Make boolean field default on new contacts

Status
Not open for further replies.

Luvsql

Technical User
Apr 3, 2003
1,179
CA
I would like to add code so that every new contact created in CRM has a particular boolean field set to true. I've found some code that sets the value to true, but don't know how to specify for new contacts only ie not to use the code on updates to existing contacts.
 
If you are creating them programmatically you can set the value with: entityname.boolfield = new CrmBoolean(); entityname.boolfield.Value = true;
You can also customize the enity within CRMand set the attribute to a defualt value so it is always assigned


Brad
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top