Hello all,
Some months ago I came across this shane young video.
I used his method to create a file upload function and it worked like a charm for a long time.
However ever since I made the grave mistake of moving my app&flows to a Solution environment/package things have been breaking down without explanation, warning or anything changing at all except going inside the solution.
These are run histories of my uploadfile flow from inside and outside the solution:
Both runs ''succeeded'' however only the left run left me with a file i could open, the right one made a corrupt file.
It seems obvious there is a difference in how the file content is structured - left we have a list object with content-type and content seperated and on the right side all i have is the base64 string.
How the flow is called:
UploadAFile.Run(Last(DataCardValue30_1.Attachments).Name;varBase64Only)
I'm puzzled as to why it can be so different.
Solved! Go to Solution.
@gjeh I think it is not Inferring the Content Type.
Can you please try to Convert base64ToBinary(<your file content>) function and then create the file in SharePoint?
Let me know if it helps.
@gjeh I think it is not Inferring the Content Type.
Can you please try to Convert base64ToBinary(<your file content>) function and then create the file in SharePoint?
Let me know if it helps.
Thanks a quadrillion m8! This was it. How can I have looked over this for so long? I don't know but I'm super glad your input got it fixed.
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
85 | |
57 | |
42 | |
37 | |
33 |
User | Count |
---|---|
91 | |
73 | |
72 | |
60 | |
40 |