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

More than one galleries

Sup everyone! Hope you guys are doing well.

So, I'm developing an app, that allows my company to see many projects, and I have created many browse galleries, one for each project (11 projects, 11 datasources).

My idea is to create a browse gallery, an editform and a detailform for each project.

The first browse gallery, for the first project, works good with the detailform and the editform. Everything linked and working fine.

But the second one (browse gallery), when I try to click in the arrow to navigate to the detailform, nothing happens, or when I type Navigate(DetailForm;Fade) in the arrow button (OnSelect), I can't edit the second box for example, in the browse gallery, because takes me to edit the first box(Only the first box of the browse gallery is editable) . 

 

Is this idea possible or I have to figure out this in other ways?

2 REPLIES 2
Super User
Super User

Re: More than one galleries

Hi @PCzinho,

 

You could try using one gallery edit and detail form, and have the gallery Datasource depend on a dropdown.

 

So you'd fill the dropdown with the names of the datasources, then in your Items of the gallery have:


If(dropdown1.selected.value = "Project1",

   DataSourceName,
   dropdown1.selected.value = "Project2",

   DataSourceName2,
etc etc

 

Could you give something like that a try and let me know if you run into any issues?

 

Cheers,

ManCat




Don't forget to 'Mark as Solution' if a post answered your question and always 'Thumbs Up' the posts you like or helped you!
Community Support Team
Community Support Team

Re: More than one galleries

Hi @PCzinho ,

Could you tell me the relationship of the first browse gallery and the second one?

Actually, I don't faully understand why the the second one could not work is related to the first one?

Could you show me some screenshoots of your app and give me some settings of the second one?

Usually, one gallery or edit form could only have one data source. So please do not share the same edit form with two data sources.

Here's a doc about the combination of gallery, edit form, detail form for your reference:

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/working-with-forms

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Platform 24

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors
Users online (4,585)