cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Powerappssucks
Advocate I
Advocate I

Loading from a gallery

How can I get my gallery to load my colour that its saved.

Powerappssucks_0-1628842557242.png

 

 

Right now it saves the colour of the sliders in a gallery but I want it to be able to load it when I click the arrow. Once the arrow is clicked it needs to change the sliders to the position they were in when it was saved.

 

Add Item Code:

 

Collect( MyItems, { Item1: Slider1.Value, Item2: Slider1_2.Value, Item3: Slider1_1.Value } )

 

Save Data Code:

 

SaveData( MyItems, "LocalSavedItems" )

 

Load Data Code:

 

LoadData( MyItems, "LocalSavedItems" )

1 ACCEPTED SOLUTION

Accepted Solutions
v-jefferni
Community Support
Community Support

Hi @Powerappssucks ,

 

Please try and add below formula OnSelect of the arrow:

ClearCollect(colTemp,ThisItem)

 

Default of Slider1:

First(colTemp).Item1

Default of Slider2:

First(colTemp).Item2

Default of Slider3:

First(colTemp).Item3

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

 

 

View solution in original post

1 REPLY 1
v-jefferni
Community Support
Community Support

Hi @Powerappssucks ,

 

Please try and add below formula OnSelect of the arrow:

ClearCollect(colTemp,ThisItem)

 

Default of Slider1:

First(colTemp).Item1

Default of Slider2:

First(colTemp).Item2

Default of Slider3:

First(colTemp).Item3

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

 

 

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,331)