I have a document list that is created using a HTML page. I have added a ribbon on the Lead form. The scenario is: when the Ribbon is clicked, the HTML page will open.
*This post is locked for comments
I have a document list that is created using a HTML page. I have added a ribbon on the Lead form. The scenario is: when the Ribbon is clicked, the HTML page will open.
*This post is locked for comments
Call the below JS on Button click. you can pass parameter like account id also to your html page.
function callHTMLPage()
{
debugger;
var AccountId = Xrm.Page.data.entity.getId();
Xrm.Utility.openWebResource("new_myhtml",AccountId);
}
Mark as verified if this works.
I got it..
thanks man...!!
Hello,
I believe Xrm.Utility.openWebResource is what you're looking for - msdn.microsoft.com/.../jj602956.aspx
André Arnaud de Cal...
292,516
Super User 2025 Season 1
Martin Dráb
231,432
Most Valuable Professional
nmaenpaa
101,156