Skip to main content

Posts

Showing posts from 2021

How to call a Action(Process) using JavaScript in Dynamics 365

 Hi everyone, In this blog, I am going to demonstrated how to call action and pass input parameters and receive result data. Xrm . WebApi . online . execute ({      entity :  {          id :   "Record_Id" ,          entityType :   "new_EntitySchimaName"     },      getMetadata :   function  () {          return  {              boundParameter :   "entity" ,              parameterTypes :  {                  entity :  {                      "typeName" :   "CRM.ava_contratto" ,                      "structuralProperty" :   5                 }             },              operationType :   0 ,              operationName :   "new_Contratto_SetConsumiAnnuiAInKG" //this is action                                                                                 // logical name         };     } }). then ( function  ( result ) {      var   SIVResponse ;      if  ( typeof  ( result . json ) ===  "function" ) {          re

Remove Option for Option set

  RemoveOption for Option set function OptionSetAddRemove() { var optionSet = Xrm.Page.ui.controls.get("new_myoptionset"); var optionSetValues = optionSet.getAttribute().getOptions(); // retrieve All options of Option set field optionSet.clearOptions(); optionSetValues.forEach(function (element) { if (element.value == "831260009") // Add Options which you want to show based on value optionSet.addOption(element); if (element.value == "831260008") // Remove options which you want to hide based on value optionSet.removeOption(element); }); } function   OptionSetAddRemove ( executionContext ) {      formContext  =  executionContext . getFormContext ();      var   independentOptionSetValues  =  formContext . getAttribute ( "new_independentoptionsetvalues" ). getValue ()      var   dependentOptionSetValues  =  formContext . ui . controls . get ( "new_dependentoptionsetvalues"

Microsoft Dynamics 365 Customer Engagement

Resume - Start Bootstrap Theme Clarence Taylor About Experience Education Skills Interests Awards Clarence Taylor 3542 Berry Street · Cheyenne Wells, CO 80810 · (317) 585-8468 · name@email.com I am experienced in leveraging agile frameworks to provide a robust synopsis for high level overviews. Iterative appro