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:CodeOutCustomscriptonload.js"}