Announcements
No record found.
Not able to see subgrid control when creating a new record in the form (model driven apps). It only shows up when editing the record. Please help
Thanks in advance.
Hi, that's normal behavior, you wont see the grid until you save the first time.
Hi Mike,
Thanks for the reply.
My requirement is I need to have multiselect(while creating new record) by doing lookup with an entity/table. So I thought this subgrid control will help but it is not as you said. So please let me know how can I achieve this requirement.
Thanks,
Paniraj
This is an out of the box feature.
You can not associate any record without saving it.
For eg: You have grid of "Entity B" on "Entity A" form, then you have to create "Entity A" record first then "Entity B" grid get visible.
Yes I understand, but what is the solution available to have multiselect with entity lookup. Is there a way to do that in powerapps or any work around. Please suggest
Hi Emids,
As explained, you cannot link entities without creating them.
A workaround will be to save the record using a onload script if the formtype = Create.
This will then allow user to add the link.
function OnLoad(executionContext){ var formContext = executionContext.getFormContext(); var formType = formContext.ui.getFormType(); if(formType == 1){ // u can add more condition like name should be filled etc formContext.data.entity.save(); } }
However, if for some reason user closes the record without linking anything - you will end up with a 'blank' record.
You can have a plugin/javascript to check if the record is linked with anything and then delete it if it is not - but then that can be decided based on requirements.
Prateek
Workaround could be to create a PCF Control, and place the selected id's in a text field, then on save process the field (via Plugin) to associate the records.
Whilst you have never been able to populate a Subgrid until the record is created, the other day I did notice that the Subgrid container was no longer showing until after the record was created.
Good day. Where can I read that's normal behavior. Thank you in advance
I am also wishing this was possible.
The logic with saying it is not possible to relate entities before it is saved, doesn't add up because single options can be related when the new record is created.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 48 Super User 2026 Season 2
Travis South 45
Ayesha Wajahat 18