CRM 2011: Global JavaScript and button in status bar

前端 未结 1 1220
抹茶落季
抹茶落季 2021-01-06 15:56

I\'m not so new in CRM 2011, but I faced with one big problem... I found some solution on net that makes some scoring/ranking system in CRM. I was completely confused when I

1条回答
  •  甜味超标
    2021-01-06 16:17

    The CRM solution you appear to be talking about is this

    http://www.wave-access.com/Public_en/ms_crm_gamification_product.aspx

    This is obviously unsupported. However they achieve it by adding a dummy button to the ribbon, specifically the Jewel Menu. This button command is linked to a JS function in a webresource. The button is always hidden but the JS file is always loaded.

    It should be noted that your JS is loaded into Main.aspx (the root document) From there its a matter of injecting HTML elements or javascript into the desired frame. (Nav or Content)

    Here is the RibbonDiffXML to add to a solution.