How to implement the "Save target as" function

Dear SDL OpenExchange developers,

I would like to insert an action in the Studio UI which would first save the translation to its original format using the equivalent of "Save target as" and then apply further functions on the document.

I am not really sure on how to implement the "Save target as" function. I found the following action in the IntegrationApi: SaveDocumentTargetAsAction . However, I am not sure on how I can implement it in my code (and there are no example illustrating how to do it).

Can anyone help me or give me an indication on how I can declare/use it? it would be much appreciated. Or suggest an alternative?

Thanks in advance!

Regards,

Laurent

Parents Reply Children