on 07-06-2021 5:59 PM
Hi,
I have an MDK app with an offline store where the user must fill form sheets. Sometimes the sheets cant be completely filled at the same time. So I have a save functionality that saves the the information without creating an entity.
My problem is saving a list of attachments inside a Control.Type.FormCell.Attachment. Is there any way to save this list in the phone’s memory without using the offline store?
Thank you in advance.
As with all form cell controls, you can access the current list of attachments selected in the Attachment control. For each attachment you can save it as needed based on your requirements. You could convert the attachment to a Base64 string and store in memory or write it out to disk (in an application sandbox directory) and store the path to the attachment in memory.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bill,
The problem that I’m having is getting the data from the attachment control. I can get the object that contains the URL and URI of the image but I’m having trouble getting the content of the image. Can you help me extract the image content or save the file based on the path?
Thank you
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.