简体   繁体   English

Dynamics crm 365 v9.0 中的 Xrm.Navigation.openUrl 问题

[英]Xrm.Navigation.openUrl issue in Dynamics crm 365 v9.0

I have been working with Dynamics 365 v9.0 and I have been facing this issue when I am opening a URL on Dynamics crm 365 web using Xrm.Navigation.openUrl , the URL gets opened in new window, But in "UI Interface", it is opening in new tab.我一直在使用 Dynamics 365 v9.0,当我使用Xrm.Navigation.openUrl在 Dynamics crm 365 web 上打开 URL 时,我一直面临这个问题,URL 在新窗口中打开,但在“UI 界面”中,它正在新标签页中打开。

Does anybody help me for this issue?有人帮我解决这个问题吗?

It is what it is.就是这样。 I would say, at least MS gave a supported way to open external url compared to window.open() .我会说,与window.open()相比,至少 MS 提供了一种支持的方式来打开外部 url。 It's in early stage, expecting more parameters in future for openUrlOptions .它处于早期阶段,期待未来为openUrlOptions 提供更多参数。

var url = "http://google.com";
    var openUrlOptions = {
        height: 400,
        width: 800
    };

    Xrm.Navigation.openUrl(url, openUrlOptions);

For now, try some browser settings like below for workaround.现在,请尝试一些如下所示的浏览器设置以解决问题。

在此处输入图片说明

We are also facing behavioral discrepancy with Unified interface compared to classic.与经典界面相比,我们还面临着统一界面的行为差异。

If you are opening Entity Form or Web resource, try Xrm.Navigation.openForm or Xrm.Navigation.openWebResource which has boolean property openInNewWindow under entityFormOptions & windowOptions parameter respectively.如果您正在打开实体表单或Web资源,尝试Xrm.Navigation.openFormXrm.Navigation.openWebResource具有布尔属性openInNewWindowentityFormOptionswindowOptions参数分别。

Read more 阅读更多

在 2020 年对我有用的唯一方法是使用 window.open 并提供宽度/高度参数。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Dynamics 365 CRM v9.0 Web API中获取帐户实体的所有相关联系人 - Getting all related Contact for an Account entity in Dynamics 365 CRM v9.0 web api Dynamics 365 V9.0:无法解码错误日志 - Dynamics 365 V9.0: unable to decode the error log 如何在本地 Dynamics 365 V9.0 中启用混合体验 - How to enable Hybrid Experience in Dynamics 365 V9.0 on premise 如何在 Dynamics CRM v9.0 中配置日历规则? - How to configure Calendar Rule in Dynamics CRM v9.0? 如何在MS Dynamics CRM 365 v9.0中的Unified Interface App中使用特定视图打开实体记录列表页面? - How to open Entity records list page with specific view in Unified Interface App in MS Dynamics CRM 365 v9.0? 将CRM动态在线升级后的/api/data/v8.2到/api/data/v9.0? - /api/data/v8.2 to /api/data/v9.0 after dynamics CRM online upgrade? 在Dynamics 365 CRM上使用Xrm Object将表单设置为只读 - Set form read only using Xrm Object on Dynamics 365 CRM Dynamics 365 CRM 和 Outlook 应用查找问题 - Dynamics 365 CRM and Outlook App Lookup issue Dynamics CRM 365 - 无法访问HTML Web资源中的Xrm.Page.entity - Dynamics CRM 365 - Cannot access Xrm.Page.entity in HTML web ressource 导航工具栏上的 Dynamics Crm 365 自定义按钮 - Dynamics Crm 365 custom button on navigation tool bar
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM