cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ashu
Level: Power Up

PowerApps - Offline Caching of Image column from SharePoint List

Hi,

I am working with offline data caching using collection, I can generate the collection using sharepoint data source ( List with image column) but when I put my device in offline mode the images are not visible though text is available.

 

Below is the code which I have used on 'OnStart' of screen

 

If(Connection.Connected,ClearCollect(MyData,Products);SaveData(MyData,"collectionkey"),Clear(MyData);LoadData(MyData,"collectionkey",true))

 

where , MyData - is the collection name

             Products- is the sharepoint data source , a list with some text and image columns

             'collectionkey' is the local file for maintaining caching.

 

Need your help on the same.

6 REPLIES 6
samuelJ
Level 8

Re: PowerApps - Offline Caching of Image column from SharePoint List

Any solution found to this? I am having the same problem. Thank you.

grd
Level: Powered On

Re: PowerApps - Offline Caching of Image column from SharePoint List

I also have the same issue. Does anyone have a solution?

Anonymous
Not applicable

Re: PowerApps - Offline Caching of Image column from SharePoint List

Hi, 

 

Did someone found a solution ? I have the same issue for 3-4 days, I never had it before. 

bkeano
Level: Powered On

Re: PowerApps - Offline Caching of Image column from SharePoint List

ame issue here, any solution?

I'm using a SQL On Premise connection, it's an APP designed for Offline use, so collections and local cache used.

Every filed ( vachar, dates etc) cache OK, but images , which are PenInputs in my case, do not show up in the APP when offline.

I'm assuming this is because localcache does not save images? So when it is loaded back inot the collection is loads back NULL

Is this the case? Would be good to know either way!

jcobiak
Level: Powered On

Re: PowerApps - Offline Caching of Image column from SharePoint List

Same thing here...when offline everything loads but the images

Highlighted
david_ade
Level: Powered On

Re: PowerApps - Offline Caching of Image column from SharePoint List

LoadData should be out of the check for connection.

 

So should be


Clear(MyData);

LoadData(MyData,"collectionkey",true)

If(Connection.Connected,
        If(isEmpty(MyData),

               Collect(MyData,Products);

               SaveData(MyData,"collectionkey")

        )

)

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (6,480)