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
  • Dear Patrik,

    Before implementing it, I have tested the function in the native environment directly and noticed that the Export files function does not exactly work as the "Save target as" function. Sometimes, the task "export files" could not complete, for example when there is no translation for some segments. This problem does not occur when using the "Save target as" function.

    I would rather prefer to use the equivalent of the "Save target as". Is there an equivalent in the API?

    Thanks in advance.

    Regards,

    Laurent

Children