Hello everyone,
Can you please help me with this issue. I have an issue with parsing my file content in my flow for create a new file (SharePoint Document Library). I have PowerApp for to upload attachments using attachment control. I'm using it by JSON PARSE, actually it makes copy of a file and upload it to SharePoint. However, when I open my file in SharePoint it's corrupted and size is 1kb.
See my screenshots:
this error message what I have when I open a file in SharePoint
This is how my flow looks:
dataUriToBinary(items('Apply_to_each')['DataStream'])
I built this flow using this guide video: https://www.youtube.com/watch?v=5XsWgVnR7SU
Thanks!
Solved! Go to Solution.
What output are you getting from the expression?
dataUriToBinary(items('Apply_to_each')['DataStream'])
You can use a compose action for this:
After you re-run the flow, we expect to see something similar to the following as the output of the compose action. The output should show two properties $content-type and $content, example:
{
"$content-type": "application/pdf",
"$content": "JVBERi0xLjMNJeLjz9MNCjEgMCBvYmoNPDwvTGFuZyhmci1"
}
Ellis
What output are you getting from the expression?
dataUriToBinary(items('Apply_to_each')['DataStream'])
You can use a compose action for this:
After you re-run the flow, we expect to see something similar to the following as the output of the compose action. The output should show two properties $content-type and $content, example:
{
"$content-type": "application/pdf",
"$content": "JVBERi0xLjMNJeLjz9MNCjEgMCBvYmoNPDwvTGFuZyhmci1"
}
Ellis
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
User | Count |
---|---|
6 | |
5 | |
3 | |
2 | |
2 |
User | Count |
---|---|
7 | |
7 | |
6 | |
5 | |
5 |