Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Suggested answer

Get View ID to display a view in the application navigation (using Site Map)

Posted on by 98

Hi everyone,

 

I am trying to display a non-default View in the application Navigation pane using the Site Map. I am using the guidance below:

 

https://stackoverflow.com/questions/70579395/adding-multiple-views-of-same-entity-in-sitemap-in-dynamics-365

 

https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/open-forms-views-dialogs-reports-url?WT.mc_id=DX-MVP-5004422#display-a-view-in-the-application-navigation-using-the-site-map

 

 

Unfortunately, this is not working. I suspect this is because I am using the incorrect View ID. If I open the View in edit mode in the app, I have guessed the View ID is the last section in the browser URL:

0523.Picture1.png

However, I do not know if this the correct approach to obtaining the GUID View ID:

  • AP ID: 41d2de61-441f-478e-ac63-2018ad2091a8

  • Entity Name: new_business_cases

  • View ID (I think): 1e0e351b-07be-ed11-83fe-00224801ad6d

  • Sample Pattern: Url="/main.aspx?appid=e2bc1066-488f-eb11-b1ac-000d3a56ead9&pagetype=entitylist&etn=account&viewid=%7b<GUID value of view id>%7d"

  • My URL Pattern: Url="/main.aspx?appid=41d2de61-441f-478e-ac63-2018ad2091a8&pagetype=entitylist&etn=new_business_cases&viewid=%7b1e0e351b-07be-ed11-83fe-00224801ad6d%7d"

6786.Picture2.png

Could anyone help?

  • Suggested answer
    Ami K Profile Picture
    Ami K 98 on at
    RE: Get View ID to display a view in the application navigation (using Site Map)

    Thanks Pablo Roldan.

    Now resolved. It seems that %7B and %7D (the parenthesis around the GUID) are not needed. I was able to use the URL without these: This worked for example:

    /main.aspx?appid=41d2de61-441f-478e-ac63-2018ad2091a8&pagetype=entitylist&etn=new_business_cases&viewid=1e0e351b-07be-ed11-83fe-00224801ad6

  • Suggested answer
    PabloCRP Profile Picture
    PabloCRP 1,086 on at
    RE: Get View ID to display a view in the application navigation (using Site Map)

    Hi,

    - Go to System Customization

    - Display the entities in the left pane

    - Find your entity new_business_cases

    - Display it's views and select(double click) the one you need

    - in the URL look for a query string called "Id" e.g: id={00000000-0000-0000-0000-000000000000} thats your View's ID

    regards

    if it was helpful please consider mark it as an Answer :3

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,558 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,647 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans