Dynamics CRM JavaScript - Set Value Method
Hi Friends, In this blog, we learn about Dynamics CRM FormContext Javascript. Below we have a list of Dynamics CRM Field DataTypes. Out-of-the-box, CRM provides 12 types of data fields that can be placed on forms : Single Line of Text Option Set (Dropdown) Two Options (Yes/No) Whole Number Floating Point Number Decimal Number Currency Multiple Lines of Text MultiSelect option Set Date and Time Lookup Customer Two Methods in formcontext Javascript : Get Value Set Value 1.Get Value Blog Link: https://learnd365in360degree.blogspot.com/2021/05/dynamics-crm-javascript-get-value-method.html 2.Set Value Method 1. Single Line of text function settesxt(executionContext) { var formContext = executionContext.getFormContext(); var textvalue = formContext.getAttribute("crf6b_name").setValue("Mohamed Umer Farook"); } Note: "crf6b_name" filed schema name 2. OptionSet(Dro...