Hi,
I want to create an image in a sharepoint library from a base64 image. When I'm going to create the image, in the file content I put the base64 code with the formula Base64ToBinary.
This returns me an error like this:
"The template language function" base64ToBinary "was invoked with a parameter that is not valid. The value cannot be decoded from a base64 representation.".
Why doesn't work?
Thx
Solved! Go to Solution.
Hi @DavidAR
You need to use datauritobinary
Refer to the blog here for more details: https://www.ais.com/newly-released-json-function-for-powerapps/
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Hi @DavidAR
Can you share a screenshot of the flow? You may not need to convert to base64 or binary. If you have the base64 string, that should be enough.
Hope this helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Hi @yashag2255
Screenshot of the flow:
Error:
If I use base64 to create the image it creates it but wrong:
Thx
Hi @DavidAR
You need to use datauritobinary
Refer to the blog here for more details: https://www.ais.com/newly-released-json-function-for-powerapps/
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Hi,
Still not working.
Thx
I have replaced the quotes and it works.
Thx!!
User | Count |
---|---|
16 | |
16 | |
14 | |
9 | |
8 |
User | Count |
---|---|
31 | |
28 | |
24 | |
23 | |
13 |