web
You’re offline. This is a read only version of the page.
close
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

Mscrm Core Function to go back

(4) ShareShare
ReportReport
Posted on by 10
Hi.
 
I need to implement custom command bar button that would go back from an entity form in model driven app.
I don't want to create custom script for it. Is there core function in Mscrm namespaces I can use?
 
Thanks
I have the same question (0)
  • Suggested answer
    Holly Huffman Profile Picture
    6,538 Super User 2025 Season 2 on at
    yes you can use Mscrm to navigate back from an entity form within a model driven app without customization. 
    you can use something like: Mscrm.Page.data.entity.save('saveandclose') ; this should save current form and close - navigating back to the previous page 
     
     
  • CU21021806-0 Profile Picture
    10 on at
    Thanks, Holly
    Is there a function to just go back or close without saving?
    Will it be Mscrm.Page.data.entity.close?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
iampranjal Profile Picture

iampranjal 47

#2
Martin Dráb Profile Picture

Martin Dráb 41 Most Valuable Professional

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 32 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans