Get and set using Plugin in MS Crm
If you want to set up data immediately then go for the JavaScript. if you want to set or get the data on form save then use the plugin. in this post we will discuss about get and setting of data using plugin. Fist we discuss about getting the data. Single and multiple line of text: return type is string . string varname= targetobject.Contains(Schemaname)?(string ) targetobject[Schemaname]:null; Option set: return type is OptionSetvalue for getting the value of the option set OptionSetValue Varname= targetobject.Contains(Schemaname)?(OptionSetValue ) targetobject[Schemaname]:null; Varname.Value for the value reading Two Option Set return type is bool bool Varname= targetobject.Contains(Schemaname)?(bool ) targetobject[Schemaname]:null; Whole Number return type is integer int Varname= targetobject.Contains(Schemaname)?(int) targetobject[Schemaname]:null; Floating number and Decimal number return type is Dounble doubleVarname= targetobject.Contains(Schemaname)?(double) targetobject[