Skip to main content
Community site session details

Community site session details

Session Id : /l2tGhUU/QcrmW43cphu9e
Power Apps - Microsoft Dataverse
Answered

Model driven app subgrid shows view of different table until the user does a manual refresh

Like (0) ShareShare
ReportReport
Posted on 22 Feb 2024 10:48:38 by 16

This is a weird one. I have a model driven app form for a table called Tenders. It has two tabs on it:

Tab 1 has a subgrid that displays a list of related Tender Docs.
There is a 1-M relationship between Tenders and Tender Docs.


Tab 2 has a Quick View form on it that contains a subgrid. It allows the user to add Project Team Members to a Project.

There is a 1-M relationship between Project and Project Team members.

Problem - Both subgrids work and allow users to add records. However, if a user adds a Project team member to a project on Tab 2, and then clicks on Tab 1, the subgrid on Tab 1 has changed to show the list of team members on a Project instead of showing the list of Tender Docs. The user needs to refresh the window (F5) to see the correct data again.

 

If it helps, there is also a 1-M relationship between Projects and Tenders.

 

I have tested this over and over again and the problem is consistent. Any ideas?

 

  • Verified answer
    joescully Profile Picture
    16 on 23 Feb 2024 at 10:39:07
    Re: Model driven app subgrid shows view of different table until the user does a manual refresh

    Hi Mahender

    I resolved the issue, or at least I now have a workaround because the Quick Create forms are working. Not sure if it is a bug or just my fault. I was testing Edge browser on the Test environment and the Quick Create did not work work. When I tested Chrome, it was the Dev environment I used and it did work. Ultimately it was down to a difference between Environments.
    I thought that ticking the "Leverage quick-create form if available" option meant that you could both create and use Quick Create forms. However, I discovered another setting in Customise the System where "Allow quick create" was unticked in one environment. Ticking that allowed my workaround to work.

    Note that the original problem still exists but my workaround will do for the moment.

    Thanks for you help.

    joescully_0-1708684702899.png

     



  • Mahendar Pal Profile Picture
    191 on 22 Feb 2024 at 15:04:39
    Re: Model driven app subgrid shows view of different table until the user does a manual refresh

    Hi,

     

    Strange issue regarding quick create, can you check if quick form is added on your model driven app ? if not try add it there and then if that's make any difference.

  • joescully Profile Picture
    16 on 22 Feb 2024 at 14:13:18
    Re: Model driven app subgrid shows view of different table until the user does a manual refresh

    Thanks for getting back to me Mahender. I have made some progress but might still have to contact Microsoft.

    I changed the Project Team form to a Quick Create form so that it doesn't technically go to another page to add the related record. Following your suggestion, I tried it in Chrome instead and it worked perfectly. The Tender Docs view remained in place when I went back to that tab.

    However, I seem to have a separate issue now because the Quick Create form does not appear when I am in Edge and using the same user account, even after deleting the browser cache. Instead it forces me to use a main form and this seems to then cause the original problem 😞

    I know the form permissions are correct for the users because they are working in Chrome, so I might need to contact Microsoft.

    I also had some basic Javascript and a couple of Business Rules on that form. However even after disabling those, the issue still remains in Edge.

    So to summarise the position at the moment. Using Quick Create forms seems to be the workaround to fix the original problem, but for some reason they are only working in Chrome and not Edge. Unfortunately the users are encouraged to use Edge.

    If you have any other suggestions/pointers let me know, but thanks for your help anyway.

    Joe

  • Mahendar Pal Profile Picture
    191 on 22 Feb 2024 at 12:02:08
    Re: Model driven app subgrid shows view of different table until the user does a manual refresh

    Hi,

     

    Can you please check if there is no script which responsible for the behavior ? can also try to use any other browser or clear browser cache or run browser in private mode and verify.

     

    It's not working and you don't have any script you can try to open Support case with Microsoft.

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

Announcing our 2025 Season 2 Super Users!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Featured topics

Loading complete