Hi:
I cannot find this in the documentation.
1. Create a Form.
2. In the form create an Upload to upload files.
3. Upload a document.
4. Save the form.
When I save the form, the data processor posts the following:
1491893708535_note:
1491893708535_link:CC1~1339
1491893708535_Empty_r_0:MaandMaart2017brutoPlus.xml
1491893708535_Empty_s_0:undefined
1491893708535_Empty_count:1
note: is my editor field.
link :my field and is a Combo Box value.
Empty is the name of my upload (I call it empty since it is not a DB field.....)
Empty_count: the number of documents
Empty_r_o : the name of my upload file .
Empty_s_o : ???? I have no idea but hope this is my Server's id for the document. How do I set this value?
When I saved the form I returned the following:
{state:true,itemId:‘maandmaart2017brutoplu.xml’,itemValue:‘maandmaart2017brutoplu.xml’}
What do I need to return to put a value in the s_0 ?
Background: uneeded info. If the upload is attached to a new object (not yet saved.) then I can still save the document, but when I save the form I need to update the document links from unlinked documents to the form object that it should link to. Knowing the document’s id would help. Otherwise I am going to need to just update all documents with the same name that are as of yet unlinked.