Opens the specified dialog for a particular record in a CRM light-box, or Modal Dialog if run from Outlook. Once the dialog is closed, a custom callback function can be executed, e.g. to refresh the form with new data set by the dialog.
Parameters: Dialog ID/Guid, Entity Name, Record ID/Guid, Callback function, CRM Base URL (not required on forms/views)
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Parameters: Dialog ID/Guid, Entity Name, Record ID/Guid, Callback function, CRM Base URL (not required on forms/views)
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Don't forget to import Processjs solution into your CRM instance provided by codeplex to make it work.
Note: To not make the GUID of Dialog hard-coded, you can fetch GUID of workflow from it's name using Odata/Web code.
Don't forget to import Processjs solution into your CRM instance provided by codeplex to make it work.
Note: To not make the GUID of Dialog hard-coded, you can fetch GUID of workflow from it's name using Odata/Web code.
below is my code but it's not working...
ReplyDeleteProcess.callDialog(
"E85B04F3-2F97-4242-9138-8B01F8ADB9F5",
"new_referencelist",
Xrm.Page.data.entity.getId(),
function () {
Xrm.Page.data.refresh();
});