OPEN AN HTML WEB RESOURCE IN A DIALOG POP-UP BOX

Here is a sample code to Open an HTML web resource in a dialog.

JavaScript

var pageInput = {
    pageType: "webresource",
    webresourceName: "thepowerappsninja"
};
var navigationOptions = {
    target: 2,
    width: 500, // value specified in pixel
    height: 400, // value specified in pixel
    position: 1
};
Xrm.Navigation.navigateTo(pageInput, navigationOptions).then(
    function success() {
            // Run code on success
    },
    function error() {
            // Handle errors
    }
);

OPEN AN HTML WEB RESOURCE IN A DIALOG POP-UP BOX

https://www.youtube.com/@powerappsninja

Leave a Comment

Your email address will not be published. Required fields are marked *