web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
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.

I have the same question (0)
  • mynkcrm Profile Picture
    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
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 141

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 132

#3
DAnny3211 Profile Picture

DAnny3211 130

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans