cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Extracting file from SIGNED_DOC

Former Member
0 Likes
494

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

Accepted Solutions (1)

Accepted Solutions (1)

0 Likes

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

Former Member
0 Likes

Hi Vikram

Thanks for your reply, Is it possible to place this file on FTP server using scripting in CLM or we will need to write a JAR for this. thanks,

Regards

Former Member
0 Likes

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

Former Member
0 Likes

Hi Bogdan

Thanks, we are currently on 9.0, we will be upgrading to 10.0 but this needs to be done in 9.0. please also note this system is not integrated and is standalone. thanks in advance

Regards

Former Member
0 Likes

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.

Answers (0)