Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Xrm.navigation.openform

Posted on by 7,316

Hi, 

im using the below approach to open a cloned form on a button click. 

Xrm.Navigation.openForm(entityFormOptions,formParameters).then(successCallback,errorCallback);

It works fine in chrome Browser which is were we tested and all. But one of our users pointed out they are getting error when using Edge browser. I tried in edge and did debug but couldn’t find anything. It just loads and throws a generic error. 
is there a known limitation with edge bowser in using  Xrm.Navigation.openForm ?

thanks for any help.

  • meenoo Profile Picture
    meenoo 7,316 on at
    RE: Xrm.navigation.openform

    I get this error in Edge.

    Error: SyntaxError: JSON.parse Error: Unterminated string constant at position:2131 at d.urlToInput

    not quite sure what that means! Not related in anyway to the script.

  • Verified answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: Xrm.navigation.openform

    Hi,

    Not there is no such issue, I have just retested it.

    I will suggest you to open developers tool and check what error is reported there if there is noting on the console you can also check network if there is anything reported. There may be something else is failing.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans