cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ks4050kt
Helper II
Helper II

How to clear cache of image from OneDrive

I'd like to know how to clear cache of image file from OneDrive which shown in PowerApps with "Image" refer with path to OneDrive.

 

I'm developing Apps for stamp registration with PowerApps and PowerAutomate.

The uploaded png image will be stored in OneDrive.

ks4050kt_0-1596034316429.png

The link of file path is responded to PowerApps, then uploaded image is shown on "Image" with path to OneDrive.

But the image is not refreshed when new png file is uploaded in OneDrive with the same file name. The file replacement could be confirmed in OneDrive directly, but old image is still appearing in PowerApps. It is assumed that file cache was not cleared.

I guess it is available the expression to clear file cache from PowerApps.

 

Below is what I made for function button;

UpdateContext({CT_spiner_Stamp: true});
ClearCollect(CollectStamp, {Image: UploadedImage1.Image, FileName: User().Email & ".png"}); 
Set(ImageToJSON, JSON(CollectStamp, JSONFormat.IncludeBinaryData)); 
Set(StampLinkFromApp, Blank());
Reset(AddMediaButton1);
Set(StampLinkFromApp, SuP_UploadStampImage.Run(ImageToJSON, User().Email).stamplink)

 

"Image" = StamplinkFromApp ... Path to OneDrive (e.g. https://my.sharepoint.com/personal/xxxx/marugiza.png


 Thank you for your advice.

 

2 REPLIES 2
alrez
Microsoft
Microsoft

Hi,

 

Looking through this I'm not exactly certain what exactly to do here. Given the complexity the solution you are trying to implement here, this might be a better question for the Microsoft Support team. I'll inlcude a link below; if you would like to go down that route, otherwise if any other communities members have any idea feel free to chime in.

 

If you would like to create a ticket with Microsoft Customer Support here is a link on how to do so: https://docs.microsoft.com/en-us/power-platform/admin/get-help-support

 

Regards,

 

Alex

 

-------

 

Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@alrez 

Thank you for your post, I tried to find the solution in anywhere community so on, but it could not be found.

I'm looking forward to have any solution from someone.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (94,240)