Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

LoadData/ SaveData not working on iOS

(0) ShareShare
ReportReport
Posted on by 64
I am working on an offline backup for an app with SharePoint as its main data source. It's working beautifully on Android, but not at all on iOS. I can see when reviewing the local files on my iPad Mini that it *is* saving the data, but cannot figure out why it will not load there. Any suggestions are welcome & much appreciated! 
Categories:
  • akl1 Profile Picture
    64 on at
    LoadData/ SaveData not working on iOS
    Thanks for the tip on using CountRows() on the home page. The problem seems to be isolated to PowerApps 3.25071.7 & 3.25065.7. When I update to 3.25073.3 & add the CountRows() text, it works on all platforms. 
  • WarrenBelz Profile Picture
    148,838 Most Valuable Professional on at
    LoadData/ SaveData not working on iOS
    Hi @akl1,
    Yes you are correct that the code seems valid. I have used offline functions on iPads for several years without issue (I just tested one now), so cannot offer and "lessons learnt" presently. Is the issue with a number of devices or just one ? Also if you put a label on the screen with 
    CountRows(colProjectInventory)
    directly after start, do you see any data ?
  • akl1 Profile Picture
    64 on at
    LoadData/ SaveData not working on iOS
    I can, although as I say, it's working perfectly fine on Android & with the Windows desktop client, so I believe the issue is unique to iOS. OnStart property includes:
    Clear(colProjectInventory);
    LoadData(
        colProjectInventory,
        "SavedProjectInventory",
        true
    );
    Gallery with Items colProjectInventory has two button controls that can change the collection (toggling a value up & down), both SaveData as part of their OnSelect:
     
    Button 1: 
     
    Patch(
            colProjectInventory,
            LookUp(
                colProjectInventory,
                ID = ThisItem.ID
            ),
            {'Complete On Site?': true, 'Qty Inventoried': ThisItem.'Qty Inventoried' - 1}
        ),
        Patch(
            colProjectInventory,
            LookUp(
                colProjectInventory,
                ID = ThisItem.ID
            ),
            {'Complete On Site?': false, 'Qty Inventoried': ThisItem.'Qty Inventoried' - 1}
        )
    );  SaveData(colProjectInventory, "SavedProjectInventory");
     
    Button 2:
     
    Patch(
            colProjectInventory,
            LookUp(
                colProjectInventory,
                ID = ThisItem.ID
            ),
            {'Complete On Site?': true, 'Qty Inventoried': ThisItem.'Qty Inventoried' + 1}
        ),
        Patch(
            colProjectInventory,
            LookUp(
                colProjectInventory,
                ID = ThisItem.ID
            ),
            {'Complete On Site?': false, 'Qty Inventoried': ThisItem.'Qty Inventoried' + 1}
        )
    ); SaveData(colProjectInventory, "SavedProjectInventory");  
     
  • WarrenBelz Profile Picture
    148,838 Most Valuable Professional on at
    LoadData/ SaveData not working on iOS
    Hi @akl1,
    Can you please share (in Text) all of your LoadData/SaveData/ClearData code and where you are using 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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2