zoukankan      html  css  js  c++  java
  • 转 Dynamics CRM Alert and Notification JavaScript Methods

    http://www.powerobjects.com/2015/09/23/dynamics-crm-alert-and-notification-javascript-methods/

    Before CRM 2013, if you wanted to alert a user on a form within the browser, the only method available was the standard JavaScript alert. This method would open an alert window over the record the user is viewing, which then must be acknowledged in order for the user to continue.

    The code,

    produces the pop up window as illustrated below.

    Data

    With CRM 2013, Microsoft introduced an additional alert method that is specific to CRM, Xrm.Page.ui.setFormNotification. This newer method allows you to specify three different types of alerts: error, information, and warning. Furthermore, instead of popping a window open over the current window, setFormNotification embeds the notification in the CRM page itself. These codes:

    produce the notifications in the screenshot below that are visible just under the Account record title.

    Dynamics CRM Alert and Notification JavaScript Methods

    The code

    can be used to clear these notifications.

    Additionally, you can call out specific fields with the setNotification method. The code

    produces the notification attached to the fax field on the Account record shown below.

    Dynamics CRM Alert and Notification JavaScript Methods

    With these different methods, you can now carefully choose how overt or subtle you would like to be in calling out important information on a record to users.

    Want to stay up to date with our blog? Subscribe today!

    Happy CRM’ing!

  • 相关阅读:
    How to install tcpping on Linux.md
    当前服务器的并发连接数查看
    Windows 系统下安装 dig 命令
    paping使用来测试联通&网站由于tcp协议导致的无法通信问题超时问题
    SSH反向连接及Autossh
    设置Windows Azure Linux虚拟机中的root账户
    用UltraISO制作CentOS U盘安装盘
    CentOS7 修改网卡名称为eth0
    iOS开发--绘图教程
    ios开发--网页中调用JS与JS注入
  • 原文地址:https://www.cnblogs.com/BinBinGo/p/6211872.html
Copyright © 2011-2022 走看看