cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

How can I get more photo's with TemplateGalleryItem3?

I want more photo's in my app but I don't know how to do that. I have TemplateGalleryItem3 in my app.

1 REPLY 1
PowerApps Staff AndyPennell
PowerApps Staff

Re: How can I get more photo's with TemplateGalleryItem3?

Here is a quick way from scratch:

Use Media / Add / Photos to add, say, Photo1 and Photo2.

Add a Button, in its OnSelect handler do

Collect(pictures,Table({x: Photo1}, {x: Photo2}))

Preview the app, click the button, exit Preview, then go to the Collections page and you should see a table of these two images, with a column name of 'x'.

Add a new image-capable Gallery on the page. Set its Items property to pictures (this binds it to the collection above).

Click within the gallery to select Image1, and select its Image property to be ThisItem.x

The gallery should then show your images.

 

Hope this helps.

 

(Sorry I didn't use the template you asked about)

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

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

Top Kudoed Authors
Users Online
Currently online: 276 members 5,676 guests
Recent signins:
Please welcome our newest community members: