Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Loading from a gallery

(0) ShareShare
ReportReport
Posted on by 47

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" )

Categories:
  • Verified answer
    v-jefferni Profile Picture
    v-jefferni on at
    Re: Loading from a gallery

    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.

     

     

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.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,636

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,942

Leaderboard