web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / offline - dropdown lis...
Power Apps
Answered

offline - dropdown list - pulling data form SharePoint list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Dear community,

 

I made an app that I want to use offline.
There is a form to enter data, with a dropdown list on it, pulling data form a SharePoint list.

When I am offline, the dropdown list doesn't pull the data anymore.

I guess I ahve to put it in  collection and the cache, but Im not sure how to do that.

Can anyone guide me through that?

Many thanks in advance for your help

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hey,

     

    Check the link below for the details

     

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/offline-apps

     

    You'll need to put your code in the first screen "OnVisible" property, this way it'll always run when you launch the app.

     

    The code might be tweaked this way for your use :

     

    If(Connection.Connected,
     ClearCollect(LocalSPList, SPList) ,
     LoadData(LocalSPList, "SPList", true) 
    )&&
    SaveData(LocalSPList, "SPList")

    I hope I didn't mess anything in it while translating from french.

     

    Tell me how it goes !

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

    Do you want to create a offline app using PowerApps?

    Based on the needs that you mentioned, I think the SaveData function and LoadData function could achieve your needs.

    I have made a test on my side, please take a try with the following workaround:

    Set the OnVisible property of the first screen of your app to following:

    If(
     Connection.Connected,
     ClearCollect(DropdownCollection, 'YourSPList'),
     LoadData(DropdownCollection, "DDCollection")
    );
    SaveData(DropdownCollection, "DDCollection")

    then you could use the DropdownCollection to populate the Drop down control within your app.

    More details about the SaveData function and LoadData function in PowerApps, please check the following article:

    SaveData function, LoadData function

    More details about creating a offline app in PowerApps, please check the following blog:

    https://powerapps.microsoft.com/en-us/blog/build-offline-apps-with-new-powerapps-capabilities/

     

    Best regards,

    Kris

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    thank you very much it works very well 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    merci beaucoup. ca marche parfaitement!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard