Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Open the related entity tab on load of the Customer page in D365

Posted on by 104

Hi All,

We have a requirement when we open the customer record in Dynamics 365 it should open the related entity (survey response). We need to do this on load of the customer page. Attached the sample image.

Can someone help me out for this.

1018.Untitled1.jpg

*This post is locked for comments

  • Suggested answer
    kukuconsulting Profile Picture
    kukuconsulting 10 on at
    RE: Open the related entity tab on load of the Customer page in D365

    Get the list of related items using

    Xrm.Page.ui.navigation.items

    pastedimage1612959347177v1.png

    Then use the command : Xrm.Page.ui.navigation.items.get("YOUR CUSTOM ENTITY RELATION ").setFocus(true);

  • StephanJenner Profile Picture
    StephanJenner 15 on at
    RE: Open the related entity tab on load of the Customer page in D365

    Any idea how I would do the same on a custom entity to open the related documents tab (SharePoint documents) on load

  • Ash06 Profile Picture
    Ash06 104 on at
    RE: Open the related entity tab on load of the Customer page in D365

    Actually it was quite easy, we can use java script to show the related entity using this "Xrm.Page.ui.navigation.items.get("nav_msdyn_contact_msdyn_surveyresponse_Contact").setFocus(true);"

  • LuHao Profile Picture
    LuHao 40,872 on at
    RE: Open the related entity tab on load of the Customer page in D365

    Hi Ash06,

    Is your problem solved? Any other questions?

    Don't forget to mark the verified answer, which will help other users with the same theme.  :)

    Best Regards,

    Lu Hao

  • Suggested answer
    LuHao Profile Picture
    LuHao 40,872 on at
    RE: Open the related entity tab on load of the Customer page in D365

    Hi Ash06,

    The easiest way: In the form editor, move the Survey Response tab to the top of the form body.

    In the web client, go to the customer record, click the Form button in the command bar to open the form editor.

    3173.2.JPG

    Click on the Survey Response tab, then hold down the left mouse button and move it over the Summary tab. Save and publish.

    3173.2.JPG

    Hope this helps.

    Best Regards,

    Lu Hao

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans