The Filepicker.files[0].Data delivers the following value:
e.g.
“data:application/vnd.openxmlformats-officedocument.wordprocessingml.document;base64,UEsDBBQABgAIAAAAIQC5S5U4eQEAAFYGAAATAAgCW0NvbnRlbnRfVHlwZXNdLnhtbCCiBAIooAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA…”
i need the value without “data:application/vnd.openxmlformats-officedocument.wordprocessingml.document;base64,”
just know i use and it worked:
{{FilePicker.files[0].data.replace(“data:application/vnd.openxmlformats-officedocument.wordprocessingml.document;base64,”, “”)}}
but if the mimetype ist changed it isn´t working. Is there a better way to do this?
thx.
Franz