Created
October 25, 2021 15:49
-
-
Save melamriD365/64aec9b22c12bf50145cf42512e8e889 to your computer and use it in GitHub Desktop.
pass an object from a model driven app to a custom page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var pageInput = { | |
pageType: "custom", | |
name: "mea_home_809de", | |
recordId:JSON.stringify({prop1: "Hello,", prop2: " World !"}) | |
}; | |
Xrm.Navigation.navigateTo(pageInput).then( | |
function success() { | |
// Run code on success | |
}, | |
function error() { | |
// Handle errors | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment