Reputation: 559
I created a new html webresource in order to use it as an iframe. I am using VS 2010 to create the website, for testing I copy the source code to the MSCRM html editor. At the beginning this worked fine, but now the site has grown and I detected that the editor adapts my source code when clicking 'Ok'.
Example:
After copying source code to MSCRM editor
After clicking 'OK' and reopening webresource:
I noticed, that the editor always cuts the source code after the second </script>
-tag. Is there any option to disable this function or any workaround?
Edit:
I also tried to change tab and then click 'OK', but the problem is that my javascript manipulates DOM and when changing the tab the editor also manipulates my source code.
Example: After copying source code to MSCRM editor
After changing tab:
After clicking 'OK' and reopening webresource:
Upvotes: 0
Views: 458
Reputation: 15128
What you faced it's a common issue with the built-in web resource editor of Dynamics CRM.
My suggestions are:
Web Resource Manager
included inside XrmToolboxUpvotes: 3