cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DroningOn
Level: Powered On

Struggling with One-to-Many Gallery

I tried following this blog post https://powerapps.microsoft.com/en-us/blog/one-to-many-relationships-for-canvas-apps/

And I googled around and searched the forums, but it seems I'm having some very peculiar behavior. 

I have an entity in CDS "Supplier" and need a way for a user to a log entry for when they interact with a supplier. So I made a One to Many relationship with the "Log" entity. So in theory, having BrowseGallery1(Suppliers).Selected.Logs should give me the logs associated with the selected supplier. But when put into the Items attribute I receive no error at all and no records or data populate Gallery2. The other odd thing is that the Formula bar lets me auto fill for each BrowseGallery1, Selected, and Logs. 

Looking for a nudge in the correct direction...

3 REPLIES 3
Community Support Team
Community Support Team

Re: Struggling with One-to-Many Gallery

Hi @DroningOn ,

 

Have you turned the below setting one? Go to the File menu, App settings, Advanced settings, scroll to end of the list, and turn this switch on:

44ec4c5c-e07f-4c41-976b-af973da6527e.png

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
DroningOn
Level: Powered On

Re: Struggling with One-to-Many Gallery

Hi Mona, @v-monli-msft 

Thanks for your quick response! I checked there for an experimental features toggle. But mine doesn't seem to have that option. The last one listed is Enable Formula Bar Result View. I have a preview feature called Relational Data, Option Sets, and other new Features for CDS; and it is set to active.

 

Maybe I need to update the CDS instance?

DroningOn
Level: Powered On

Re: Struggling with One-to-Many Gallery

So I figured I'd try to test out this idea in a fresh canvas app. I connected to my Supplier Entity, made a new gallery screen and set Items to BrowseGallery1.Selected.Logs and it's working. I'd rather not have to rebuild my entire app. Also I'd like to understand what would be blocking it from working correctly in my app.

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 91 members 4,088 guests
Please welcome our newest community members: