Skip to main content

Notifications

Power Apps - Power Apps Pro Dev & ISV
Unanswered

JavaScript navigation causes Page to require refresh

(0) ShareShare
ReportReport
Posted on by 30

After clicking a button and accepting a dialog for record generation, the navigation JavaScript functions often causes error and requires page to refresh:

nandrews_2-1718293234035.png

This recently started to happen from the use of the deprecated Xrm.Utility.openEntityForm and the use of 

Xrm.Navigation.openForm. The navigateTo function did this once before as well. It all used to work just fine.

Should we switch all over to navigateTo and pray? Or is this an inconvenience that can otherwise be prevented?
  • cchannon Profile Picture
    cchannon 4,702 on at
    Re: JavaScript navigation causes Page to require refresh

    I have plenty of apps that use such navigation approaches, and I do not see this. Are you sure this is not due to some code you have running on the Target of the 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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard