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

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: How to make a HTML webresource read-only in a form.

    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.

  • Jayaa E Profile Picture
    75 on at
    RE: How to make a HTML webresource read-only in a form.

    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.

  • Suggested answer
    Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: How to make a HTML webresource read-only in a form.

    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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 220 Super User 2025 Season 1

#2
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 78 Super User 2025 Season 1

#3
Sahra Profile Picture

Sahra 43

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans