cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
StijnDekimpe
Helper I
Helper I

base64toBinary, unable to process template language expression

HI

I'm made attachments in power app store the files and pictures directly to a dedicated library.

This has worked fine for months but stopped working a few months ago. didn't get any notification so can't tell exactly when.

 

Error in automate

StijnDekimpe_0-1627402657214.png

 

 

Coding in power apps

Set(varAttachmentControl, JSON(ImageAttachment.Image, JSONFormat.IncludeBinaryData));

Set(varBase64only, Mid(varAttachmentControl, Find(",", varAttachmentControl)+1,Len(varAttachmentControl)- Find(",", varAttachmentControl)-1));

Set(varFileLink, UPloadtoSharepointfrompowerapps.Run(Last(AttachmentControl.Attachments).Name, varBase64only).sharepointfilelink);

 

Reset(AttachmentControl)

 

flow

StijnDekimpe_1-1627402685421.png

 

also I respond back to power apps but I'm blocked on where and how to store that info?

 

thanks

0 REPLIES 0

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (3,490)