0

I am trying to use this below script to open url of an entity view:

    static openClientForm(pageType?: string, entityName?: string, id?: string) {
            const url = `ms-dynamicsxrm://?pagetype=${pageType}&etn=${entityName}&id=${id}`;
            window.open(url, '_blank');
            return;
}

but the problem is window.open() doesn't work in Dynamics 365 for phone app in my android device. It does nothing when clicking on the link.

user10496245
  • 217
  • 3
  • 17

1 Answers1

0

You should use the below supported method:

Xrm.Navigation.openForm(entityFormOptions,formParameters).then(successCallback,errorCallback);

Reference