Open entity modal popup in D365 CRM.

Now we can open Entity record as a popup. Here is the piece of code and it is supported only for opening records in the system. Try below.

Xrm.Navigation.navigateTo({
        pageType: "entityrecord",
        entityName: "contact",
        formType: 2, // Only Edit Mode is supported now. 
        formId: " ",
        entityId: " "
    }, {
        target: 2,
        position: 1,
        width: 700,
        height: 600
    });

No comments:

Post a Comment