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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Add HTML Web Resource for all forms

(0) ShareShare
ReportReport
Posted on by

we need to add a custom HTML web resource in MS Dynamics 2016 (on premises/online). The problem is, web resource can be added on a single entity form at a time. Whenever user navigates to another form, web resource is not available there. Is there any way to add web resource for all forms just like shown in this demo.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi Rizwan,

    the unique way to do it is to manipulate the xml form content of each entity which need it.

    Before to proceed insert the webresource into one form, download xml content, copy web resource xml node and then manipulte all the others form xml.

    If you are familiar with SDK is not an hard job.

    Hope it helps!

    If you found the answer helpful, please mark as Verified 

    Thank You & Best Regards

    Francesco Picchi

    Microsoft Dynamics CRM Consultant, Bologna, ITALY

    Independent Contractor

    http://www.francescopicchi.com

  • Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    Hi Rizwan,

    I think you have to do this one at a time.

    Once option that you might have though is customize the application ribbon and create a button that calls a function.

    The function will perform that code that you want (which is to display the web resource).

    How to display the web resource is up to you, since you will be manipulating the DOM, and I am not sure this is supported. You will have to do this using jquery or other components... Basically inject Html at a particular location on the page.

    On the load event of the button function return false, so that the button is not displayed.

    Hope this helps.

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

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans