Notifications
Announcements
No record found.
The Web Page (HTML) Web Resources doc link - https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/webpage-html-web-resources - leads to a page that says: “An HTML web resource can’t contain any code that must be executed on the server. ASP.NET pages can’t be uploaded as HTML web resources.”
I take this to mean we can’t use ASP.NET pages with C# server code. However this link indicates it is possible: https://salimadamoncrm.com/2016/02/15/custom-user-interface-in-crm-html5javascript-or-asp-net-web-application/
I would much prefer using a server-side C# solution as we can re-use code rather than rewriting to a HTML5/Javascript solution. Is this possible? The contact guid needs to be passed to the webform.
Hello my friend,
Yes in fact you can do so:
1- Develop your ASPX Page and deploy it on IIS or Azure
2- On your form level Add an Iframe, specify the url of you page
3- Once your Form will be loeaded, you'll be able to see the contecnt of your page ASPx.
Hope this helps :), and please do not forget to mark as verified.
This works but the buttons in the iframe don't. For example, I have a button that makes a asp panel visible. When I click it, nothing happens. If I add the iframe on a vanilla aspx page, everything works as expected. Any ideas?
Figured it out. Had to disable restrict cross-frame scripting.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 72 Super User 2025 Season 2
Daniyal Khaleel 32 Most Valuable Professional
Gerardo Rentería Ga... 29 Most Valuable Professional