i need a script for set value for date field , multi option set , floating point , lookup field from one entity to another entity with samae data type ..
object.new_multiselectoptionset = Multiselectoption;
object.new_dob = DOB;
object.new_wholenumber = wholenumber;
object.new_floatingpoint = Floatingpoint;
object.new_decimalnumber = Decimalnumber;
object.new_lookup = lookup;
Hi,
In addition to that you can refer some of the samples here himbap.com/blog
For JavaScript basics, you can refer this- community.dynamics.com/.../javascript-basics
Hope this helps.
Hi,
Please use CRM Rest Builder to build the WEB API request. This is the easiest way to build the query as well as execute it and see the results.
www.toplinestrategies.com/.../crm-rest-builder-useful-tool-working-crm-2016’s-web-api
You should be able to use the same returned value directly to the fields i.e. ...getAttribute.setValue(retrievedValue). for lookup fields, you can refer the below blog-
Hope this helps.