Currently, when we save a Pen Input (in a Collection or Data base) it is saved in a format that prevent to do any modifications to it (appres://blobmanager/XXXXXXXXXX).
There is a way around by saving it to an excel sheet on One Drive which save the Pen Input as a PNG in a another folder.
But this work around is far from being ideal, and doesn't work if you don't have access to internet.
It would be great if we can choose the output format of the Pen Input directly in the App, either keep the blob storage or choose base64, PNG etc).
Updating status and adding @FilipK
I'd also like to see this feature.
I also need this function to save the peninput to sharepoint list as image or at least the same as the camera so I can retrieve the peninput image for reference or proof of signature.
I need the Pen input as an image for the same reason as Wade_ "for reference or proof of signature." is there a workaround, for now, to save the pen input as an attachment and reference it back in the PowerApp as an image?
You can save the Pen Input to your OneDrive (https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/tutorial-working-with-images-in-excel). If you don't need offline capabilities, you can directly get the image by connecting the excel sheet to your app.
If you need offline mode, you can use a Flow to send it to your SharePoint. Personally, I convert the PNG PenInput stored on my OneDrive to a base64 value and send it to the appropriate location in my SharePoint.
@MSL Thank you for the quick response you are a legend. by any chance would you be able to link me to a flow that can do what you have mentioned?.
I will try your linked excel solution as well, The only change I am making is using a Sharepoint document Library instead of One Drive...
Many thanks again. There is light at the end of this tunnel.
Being able to get PenInput control output as an image (Base64, PNG, etc) is crucial for an app to function in offline mode. Using Flow, Email or Excel requires the device to be online.If the images can't be extracted out of current session cache (blobmanager) and be stored as Base64 for example in local cache while offline then this control will not be usable in offline mode. Blobmanager will not be available once the session is expired.
Please allow to export the image while offline, preferablely as base64.
@MSL, Could you please explain how you would use Flow and OneDrive when you're offline in your app with no internet connection, as you mentioned below in your comment?
"If you need offline mode, you can use a Flow to send it to your SharePoint. Personally, I convert the PNG PenInput stored on my OneDrive to a base64 value and send it to the appropriate location in my SharePoint."
@Anonymous you can save the peninput locally in a table (with SaveData function) and when you're back online, you push your data online and it goes to the onedrive. Then, you use a flow to read your excel sheet on your onedrive, get the peninput filename, get file content on the folder where the image are stored on your onedrive and convert it to base64, then send it back to you sharepoint list.
It's working, but very frustrating because sometimes you loose your peninput when uploaded on onedrive, it would be wayyyy easier to just choose base64 as an ouput directly ... but microsoft wants us to struggle, maybe because it's free.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.