html CRM 2016 #Dashboards#CRM2016 #IFrames #MoussaElAnnan

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html CRM 2016 #Dashboards#CRM2016 #IFrames #MoussaElAnnan相关的知识,希望对你有一定的参考价值。

<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title></title>
    <style>
        .labels {
            color: #444444;
            display: block;
            white-space: nowrap;
            overflow: hidden;
            position: relative;
            text-align: left;
            float: left;
            overflow: hidden;
            display: inline-block;
            white-space: nowrap;
            font-size: 12px;
            font-family: "Segoe\000020UI";
            white-space: nowrap;
            text-overflow: ellipsis;
        }
    </style>
    <script src="../../ClientGlobalContext.js.aspx" type="text/javascript"></script>
</head>
<body>
    <script>
        function _getContext() {
            var errorMessage = "Context is not available.";
            if (typeof GetGlobalContext != "undefined")
            { return GetGlobalContext(); }
            else
            {
                if (typeof Xrm != "undefined") {
                    return Xrm.Page.context;
                }
                else { throw new Error(errorMessage); }
            }
        }

        function showUserID() {
            var xrmContext = _getContext();
            alert(xrmContext.getUserId());
        }
    </script>
    <a href="javascript:showUserID();" id="newBusinessReport" target="_blank" class="labels">New Business Report</a>
</body>
</html>

以上是关于html CRM 2016 #Dashboards#CRM2016 #IFrames #MoussaElAnnan的主要内容,如果未能解决你的问题,请参考以下文章

CRM Online 2015 仪表板

dynamic2016 crm 安装语言包提示缺少组件报错

Dynamics CRM 2016 Web API 消息列表

Dynamic CRM2016在一台本地服务器安装部署

Dynamics CRM2016 Web API之删除

Dynamics CRM 2015/2016 Web API:注册 APP(调用CRM Online Web API)