cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
aaedla
Helper V
Helper V

Model Driven App and table views

Hi, I have created model driven app and created views for table. Added views in site map navigation and deployed the solution from dev environment to production environment. (Exported and imported and then published).

 

Everything looks fine but when I click on views on the left side, application is redirecting to dev environment.

 

I thought that when we import the solution into production, tool automatically updates the links to point the production table views, which is not happening. Am I missing anything here? Do I need to do anything to point to prod views?

 

I updated the links manually but when I click the links, all the views are opening in edit mode.

 

Please suggest me if I am missing any steps after importing and publishing the solution.

 

Any help would be greatly appreciated.

 

2 REPLIES 2
rampprakash
Super User
Super User

Hello @aaedla,

 

Hope you are doing good.

 

If am not wrong from SiteMap you are calling url like below

 

/main.aspx?appid=<APP ID>&pagetype=entitylist&etn=<ENTITY NAME>&viewid=<VIEW GUID>&viewType=<EntityType>

 

Make sure you start with /main.aspx, so that whenever you move environment it will automatically pick the respective organization url.

 

Link for your reference : https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/416897/sitemap-link-to-specific-vi...

 

Please mark as Answer if it is helpful and provide Kudos


Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
Blog : https://microsoftcrmtechie.blogspot.com

Thank you RampPrakash for your comments.

 

Here is the URL of Table view from solution.

 

https://make.powerapps.com/e/97d02e44-a98c-4b67-814a-674ba3366c/s/934b113c-7024-407a-b698-7844cb2ade...

As per your comments, is the following URL I need to add in site Map.

 

/main.aspx?appid=eb5b70d6-6735-4263-84b4-9fa864c814bc&pagetype=entitylist&etn=new_requestsid&viewid=ae45c2bb-b057-ec11-8f8f-0022482d7bb5&viewType=custom

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,689)