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

Announcements

No record found.

News and Announcements icon
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)
  • Haig Liu Profile Picture
    Microsoft Employee on at

    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

  • mynkcrm Profile Picture
    50 on at

    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.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 176

#2
ManoVerse Profile Picture

ManoVerse 149 Super User 2026 Season 1

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 57 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans