Skip to Content
0

Agentry iOS - Create document and attach it

Dec 15, 2017 at 06:08 PM

45

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Bill Froelich
Dec 16, 2017 at 04:47 AM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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.

0