cancel
Showing results for 
Search instead for 
Did you mean: 

Agentry iOS - Create document and attach it

Marçal_Oliveras
Active Contributor
0 Kudos

Hi,

I would like to know if I can create a document from Agentry iOS client to be attached as DMS.

I would like to create a plain text or XML file, but the only option seems to select an existing document already stored in the iOS device file system. Could I trigger the creation and edition from Agentry? Do I need Open UI to do that?

Kind Regards,

Marçal Oliveras

Accepted Solutions (1)

Accepted Solutions (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

When you go to attach the file it has to be an already existing file in the case of a document attach. For photos you can either take a new picture or choose an existing one from your gallery.

In terms of creating the file, I suspect you will need to use an Open UI control to create the file since there isn't the equivalent of a command line interface on iOS. Your Open UI control could be very simple and just take in string property and a file name which it would then create in the iOS Documents directory and write the contents of the string property to. This of course assumes you have pre-populated the string with the file contents. We have done similar a similar process on the Windows client but there we had access to the command line to write out the file.

Hope this helps!

--Bill

Marçal_Oliveras
Active Contributor
0 Kudos

OK, thanks for your answer Bill.

That's what I thought. I may need to push for being allowed to create a branded client and user OpenUI since seems the only possible option if I need to do that... for now I'm limited in this way.

The other alternative, as discussed in a kind of related thread (https://answers.sap.com/questions/386169/agentry-work-manager-add-signature-as-dms-attachme.html) would be to store the XML file in an Agentry field of the object I want to link it, and during the posting, process it separately in Java or the backend.

Answers (0)