Skip to main content

Posts

setCookie function

let username = 'Max Brown'; // Set a Cookie function setCookie(cName, cValue, expDays) { let date = new Date(); date.setTime(date.getTime() + (expDays * 24 * 60 * 60 * 1000)); const expires = "expires=" + date.toUTCString(); document.cookie = cName + "=" + cValue + "; " + expires + "; path=/"; } // Apply setCookie setCookie('username', username, 30);

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...