on 05-12-2015 11:09 AM
Hi All
Is there a way we can extract the file from Final signed document (SIGNED_DOC) field from contract document and put this file on FTP server using scripts. i could not find APIs to get the final signed file. please let me know, thanks.
Regards
Hi Dhiraj,
To access the Final Signed Document field you could do….
doc.getFieldMetadata("SIGNED_DOC").set(doc,attachmentRef);
Here, doc is the current contract document and attachmentRef is the
reference to the attachment you want to upload.
Similarly, you can use the getter method to get the signed doc.
Hope this helps.
Regards,
Vikram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Dhiraj,
There are no provided APIs to connect to FTP, but you could use internal APIs depending on your version:
For V10:
- very simple to implement because of the new FileTransferConfiguration class
For V9:
- a bit more complicated, but can be pushed to FTP configured in IntegratedSystemConfig
Let me know which version you are on and I will guide you in the direction.
Bogdan
After some delays I managed to write a blog post for working with FTP in 9.x
If all prerequisites are met it should work even on standalone.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.