Announcements
No record found.
i changed the value of drow-down select box in javascript, but after i saved, the value was not changed, but when i changed it by manual, it can be saved.
anyone can help me? thanks.
*This post is locked for comments
Be sure you're using the CRM 2011 sdk to set the attribute value to the option's integer (not text) value:
Xrm.Page.data.entity.attributes.get("new_optionset_attribute").setValue(1);
i used jQuery library...
Use the SDK.
msdn.microsoft.com/.../gg328261.aspx
Do not use jQuery to interact with Microsoft Dynamics CRM 2011 forms. Use the Xrm.Page object model methods to access form elements.
The only supported use of jQuery in the Microsoft Dynamics CRM 2011 and Microsoft Dynamics CRM Online web application is to use the jQuery.ajax method to retrieve data from the REST endpoint. For more information, see Using jQuery. Using jQuery to modify Microsoft Dynamics CRM 2011 application pages or forms is not supported. You may use jQuery within your own HTML web resource pages.
thanks Scott..
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.