Dynamic CRM登陆界面的客制化(持续更新)

Dynamic CRM的登陆页面比较西化,不是很适合中国人使用。目前先把注销跳转的问题解决了。

服务端使用下面命令,将文件导出来

Export-AdfsWebTheme –Name default –DirectoryPath c:\CodeOut

在script文件夹里面找到onload.js

在js文末加上

if(location.href.indexOf("wsignout")>0)
{
location.href="https://crm.xxxx.com:446";
}

保存后使用如下命令将修改完的文件覆盖进去就可以了

Set-AdfsWebTheme -TargetName Custom -AdditionalFileResource @{Uri='/adfs/portal/script/onload.js'; path="c:\CodeOut\Custom\script\onload.js"}

posted @ 2019-05-13 16:37  夜月之光  阅读(407)  评论(0编辑  收藏  举报