web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Save in dynamics 365

(0) ShareShare
ReportReport
Posted on by 1,085

Hello Community Experts,

There is an issue which one of the client is facing, the issue is, A user has an entity and a tab where in the tab there are few links embedded in it which navigates to various records in the CRM.

When the user clicks link, changes the record and click save, he wants to come to the same tab where he had clicked the link from

Right now i do not have access to his instance, but i should soon find a solution before getting access.

How do i achieve this?

Kindly Guide,

Best Regards,

Sumaira Noor

I have the same question (0)
  • Abigail Profile Picture
    552 on at

    This reference may guide you to do exactly that:

    docs.microsoft.com/.../add-edit-form-navigation-related-entities

    Regards

  • Suggested answer
    LeoAlt Profile Picture
    16,331 Moderator on at

    Hi partner,

    I suggest that you could use editable subgrid to show the records you need on the form and edit it in list directly.

    1.Go to form editor, choose as tab and insert a new sub gird.

    pastedimage1582549684043v1.png

    2.Set the record type you need. If you want to show only related records, you could choose "only related records", if you want to show all other records, just choose "all record types".

    pastedimage1582549758279v3.png

    pastedimage1582549739207v2.png

    3.Add a new control in this sub gird, select "editable sub grid".

    pastedimage1582549846195v4.png

    Save and publish.

    Now we could edit the records in the sub gird directly without opening other forms.

    pastedimage1582549914895v5.png

    If you really want to open new forms to show records, you need to use cutsom JS code with method "Xrm.Navigation.openForm()" to open a new page to show records and after you updating it, just close the window.

    https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/customize/make-grids-lists-editable-custom-control

    https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-navigation/openform

    Hope it helps.

    Best Regards,

    Leo

  • Sumaira Noor Profile Picture
    1,085 on at

    Thanks a lot Abhigail and Leo for the response

    I guess my question was not clear

    My question was how to achieve the below functionality

    "When the user clicks link, performs changes to the record and click save, he wants to come to the same tab where he had clicked the link from"

    They already have everything, they are not looking for sub-grids

    They just want this to happen, when they open a record, make changes and click save, the opened record to get back to the same tab from where they had clicked that record link

    Kindly guide,

    Best Regards,

    Sumaira Noor

  • Verified answer
    LeoAlt Profile Picture
    16,331 Moderator on at

    Hi partner,

    Thanks for your information and details.

    So if the links are already existed in the form and if we click on it and D365 will jump directly to the form of this record instead of opening a new form, so we cannot go back to the previous page.

    The best way is to use "Xrm.Navigation.openForm" to open a new form with "openInNewWindow=true" and so that when you save the record, just close the window and then will back to the original tab.

    Best Regards,

    Leo

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

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

#1
11manish Profile Picture

11manish 109

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 61 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 30

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans