Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

Deal Manager Dashboard Javascript

(0) ShareShare
ReportReport
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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,642 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans