Open an entity view in javascript power apps model driven app
Below code can be used to Open an entity view in javascript power apps model driven app.
JavaScript
var pageInput = {
pageType: "entitylist",
entityName: "account"
};
Xrm.Navigation.navigateTo(pageInput).then(
function success() {
// Run code on success
},
function error() {
// Handle errors
}
);
JavaScriptHope this helps.