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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Portal different from ...
Power Pages
Answered

Portal different from model drive app with subgrid

(0) ShareShare
ReportReport
Posted on by 61

Hi,

 

I create an app where I create a new Bet, and then add games linked to this bet (the bet is like a header, and then games are like lines linked to this header).

I added a subgrid on my form, but I can only add games after I saved the bet (the subgrid doesn't display anything before): I will try a better way to manage this..

But, the main issue is that when I created a portal and then add the same form to create a new bet, there is no option to save the bet, only to submit it => so, when I submit it the bet is created, BUT the subgrid to add related games to this bet doesn't appear!

How could I manage it and fix it?

 

I put 2 printscreens to show you: one of my model driven app where I can add games, and one from my portal where I can't add lines but only submit the bet.

 

Thanks for your help and advices.

 

5.png
2.png
Categories:
I have the same question (0)
  • LauM Profile Picture
    61 on at

    I tried so many things but nothing work...

    Here is my webpage, where the details section is always empty and doesn't show any fields for the games (aka the lines linked to the bet):

    7.png

     

    Here are example of the metadata I added on the related entity form:

    71.png

     

    8.png

     

    I don't see anything on my webpage in the details, even though  I added the create section, and also modified the name of columns.

    Moreover, if I want to add the Create related records action, the entity form is always empty.

    I understand nothing at all, much more complicated than the model driven app... Even after reading a lots of blogs, or seen videos 😞

     

    Thanks for your help

     

  • Verified answer
    oliver.rodrigues Profile Picture
    9,453 Most Valuable Professional on at

    Hi, that's actually default behavior of both CDS/Model-Driven Apps and Portals.

     

    You need to have the master record saved first before being able to add related/child records.

    I would recommend either using an insert Entity Form then redirecting to an Edit Entity Form, or using Web Forms, the seconds step being the subgrid details.

     

    There isn't a lot you can do here, unless you want to go on a very custom route using WebAPI.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 53

#2
DP_Prabh Profile Picture

DP_Prabh 49

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 28 Most Valuable Professional

Last 30 days Overall leaderboard