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.
You should use the below supported method:
Xrm.Navigation.openForm(entityFormOptions,formParameters).then(successCallback,errorCallback);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.