cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RestyQuin
Regular Visitor

Need help how to retrieve attachment from notes dataverse and save it to OneDrive

Hi I'm new to Dataverse, notes table and power apps and power pages.

 

I need help retrieving a specific file every time user starts to upload into my Power Page and add a data in table row.

 

Here is my existing flow and the result is that the document is blank.

 

RestyQuin_0-1669164923730.png

 

Thank you for your help.

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Fubar
Solution Sage
Solution Sage

This is not the correct forum this type of question.  But to answer your question, the file when stored in Notes is Base64 encoded, you will need to decode it / convert it to binary (base64ToBinary) before or as you write it in the File Content

 

View solution in original post

3 REPLIES 3
Fubar
Solution Sage
Solution Sage

This is not the correct forum this type of question.  But to answer your question, the file when stored in Notes is Base64 encoded, you will need to decode it / convert it to binary (base64ToBinary) before or as you write it in the File Content

 

mago_00
Frequent Visitor

Hi, you'll need to convert the note document body first to binary since it is in base64.

Try this base64ToBinary(triggerOutputs()?[‘body/documentbody’])

mago_00_0-1669183311355.png

 

RestyQuin
Regular Visitor

Ha!  it works!  

Thank you @Fubar !!!  your the man!

 

RestyQuin_0-1669183941561.png

 

Helpful resources

Announcements
Carousel Community Blog

Check out the Community Blog

Read all about the most recent blogs in the community!

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Carousel News & Announcements

What's New in the Community?

Check out the latest News & Events in the community!

Users online (1,576)