Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Webresource files

(0) ShareShare
ReportReport
Posted on by

We've upgraded a crm 4 system to crm 2011 and I'm am now looking to edit an imported webresource file (from another 2011 system we have) but as soon as I do and then save the webresource the vast majority of the code disappears - what is happening?

The text of the webresource ends up as below:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/.../xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
    <title>Add/Remove dynamic rows in HTML table </title>
    <script src="../ClientGlobalContext.js.aspx" type="text/javascript"></script><meta charset="utf-8"></head><body></body></html>

Originally it was from this link

https://dynamicscrminfo.blogspot.com/2013/07/how-to-integrate-crm-contact-data-based.html

Now when I import the solution with the webresource and first look at my webresource file it is all there - just when I come to edit it and save it things disappear.

Any ideas?

regards,

Matt

*This post is locked for comments

  • RE: Webresource files

    I forgot to add it appears to be something to do with the <script> tags.  If I add all of the code without the script tags I can save the file, edit it and then resave all ok.

    If I add in any of the script tags which refer to Globalcontext or any of the other javascript files and then save I end up with the code the same as the post above (text missing).

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans