Notifications
Announcements
No record found.
Hi,
Is there a way to update the read only "Yes/No" field from code in c sharp, other then Workflow option.
*This post is locked for comments
Hi Krish,
All you have to is assign that attribute either bool value i.e true or false.
eg.
EntityObject.Attributes["FieldName"] = true; //yes
EntityObject.Attributes["FieldName"] = false; //no
EntityObject.Attributes["FieldName"] = null; //null
service.Update(EntityObject);
www.magnetismsolutions.com/.../setting_values_programmatically_via_the_crm_2011_sdk
if you have plugin already use above , otherwise if you looking to do this one time : create simple console application that connects to dynamics crm
community.dynamics.com/.../simple-dynamics-crm-console-application
passion4dynamics.com/.../create-auto-number-attribute-in-dynamics-crm-365-using-organization-service-simple-console-application
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2