cancel
Showing results for 
Search instead for 
Did you mean: 

Extracting file from SIGNED_DOC

Former Member
0 Kudos

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

View Entire Topic
0 Kudos

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 Kudos

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_member190023
Contributor
0 Kudos

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 Kudos

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_member190023
Contributor
0 Kudos

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.