Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

navigateTo page

(0) ShareShare
ReportReport
Posted on by 5

4657.alert.PNG6558.error.PNG

Hello everyone, 

I've been trying to navigate to a different page with the name 'cr913_designation' right after the alert pop up appears and clicking yes. First, with the code below , the pop up appears as shown in the first picture above. After clicking yes another pop up appears shown in the picture above with an error and i cannot navigate to the second page. Can someone please help me with this problem and double check with me the code if i did anything wrong ?

The code as shown : 

function OpenAlert(){


var alertStrings = { confirmButtonLabel: "Yes", text: "This is an alert.", title: "Sample title" };

var alertOptions = { height: 120, width: 260 };


Xrm.Navigation.openAlertDialog(alertStrings, alertOptions).then(
function success(result) {
function ();
},
function (error) {
console.log(error.message);
}
);
}
function navigate() {

var pageInput = {
pageType: "custom",
name: "cr913_designation",
};

Xrm.Navigation.navigateTo(pageInput)
.then(
function () {

}
).catch(
function (error) {

}
);
}

  • Suggested answer
    meelamri Profile Picture
    meelamri 13,212 User Group Leader on at
    RE: navigateTo page

    Hi, 

    Did you add your custom page to the model-driven app ? 

    pastedimage1643383706465v1.png

    You don't need to show the page in navigation. 

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.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,307 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans