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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

How to make a HTML webresource read-only in a form.

(0) ShareShare
ReportReport
Posted on by 75

Hi,

I want to make below HTML web resource read-only based on some conditions. Could anyone please suggest a way to do this.
I have tried to use setDisabled, but it is working only for fields not for web resources.

41471.Capture1.PNG

Thanks in advance!!

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Can you try adding web resource in tab/section and then make tab/section read only using javascript code.

    Check below link to disable tab in dynamics crm using JS

    capuanodanilo.com/.../

    Please mark my answer verified if i were helpful

  • Jayaa E Profile Picture
    75 on at

    Hi Bipin,

    The web resource is inside the section only. I have tried to disable the tab and section as well. It is not working. Could you please suggest any other way to achieve this.

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Jayaa,

    I believe I answered your question before - community.dynamics.com/.../edit-privilege-for-a-section - rework your HTML webresource to support enable/disable scenario.

    And please stop creating questions that duplicate one another.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 96 Super User 2025 Season 2

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans