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,...
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!!

  • Suggested answer
    Bipin D365 Profile Picture
    28,995 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Syed Aqib Raza Profile Picture

Syed Aqib Raza 97

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 89 Most Valuable Professional

#3
11manish Profile Picture

11manish 71 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans