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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Different default view...
Power Apps
Unanswered

Different default views on different subareas on the sitemap of a model-driven app

(0) ShareShare
ReportReport
Posted on by 115

Hi,

I want to create two subareas in the sitemap of a model-driven app which both represent the Account entity but show different views. There are Accounts which are Competitors and Accounts which are Customers. I have two different Views on the Account entity which filter correspondingly for Competitors and Customers.

 

kv_0-1636729443309.png

 

I can only specify one default view globally for the entity but not for the each subarea. Is there any solution to this problem? Maybe using JavaScript?

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @kv ,

     

    You could try to add url to subarea.

    vxiaochenmsft_0-1637029440262.png

    vxiaochenmsft_1-1637029479063.png

    vxiaochenmsft_2-1637029528718.png

     

     

    Best Regards,

    Wearsky

     

     

  • KVa Profile Picture
    115 on at

    Thank you! Does that work with different environments?

  • nava0003 Profile Picture
    16 on at

    This doesn't seem to work for different environments since they have their own URL's.  Can anyone suggest how this can be addressed?  Is there a resource parameter that can be referenced per environment?

  • samuelsaenz1996 Profile Picture
    14 on at

    Did you find a solution?

  • Verified answer
    KVa Profile Picture
    115 on at

    Hi  @samuelsaenz1996,

    you can make it work by using an Subarea (Page) in the app designer. Then you set the content type to URL, and you create a relative link to the view. Since the view GUID is the same on different environment this should work (I tried it and it works fine for me).

     

    /main.aspx?pagetype=entitylist&etn=TABLE_NAME&viewid=VIEW_GUID&viewType=1039

  • samuelsaenz1996 Profile Picture
    14 on at

    Hello @kv, when i did that, it turns that tab into a button, which opens a new window pointing to that URL. Which is strange because it was working fine in my dev environment but then in the production environment it gives me that

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard