Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Sales forum / Deal Manager Dashboard...
Sales forum
Unanswered

Deal Manager Dashboard Javascript

Posted on by 50

Hi Everyone,

So I have enabled Deal Manager(preview) for all security roles and have attached a JavaScript web resource in the advance field controls .

It contains a simple method to make field read only in the sub grid present of opportunity in the deal manager.

Somehow neither this web resource gets loaded in the deal manager when I try view it via debugger nor it works. 

Am I missing something? Unable to figure out why it won't work. I have already cross - checked and there are no syntax errors in the library.

  • mynkcrm Profile Picture
    mynkcrm 50 on at
    RE: Deal Manager Dashboard Javascript

    Hi Liu,

    Thanks for your response.

    To elaborate I am referring to the deal manager dashboard which has preview version currently. There is an editable grid present.

    pastedimage1679567949669v2.png

    It requires a single library and is automatically called on load.

    pastedimage1679568066495v3.png

    So i have a method on this web resource to make columns read only which are present in this editable grid.

    It wont work, nor this library loads. Unsure why.

  • Haig Liu Profile Picture
    Haig Liu Microsoft Employee on at
    RE: Deal Manager Dashboard Javascript

    Hi mynkcrm,

    Did you refer to the code written by the sample function and put it into the Onload event?

    https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/walkthrough-write-your-first-client-script

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,263 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,112 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans