Import data from remote file

HI,

In a docbuilder script, is it possible to import data from a remote file (csv, txt or json) , such as with an ajax call ?

Thanks in advance

Hello @David33
There’s macro sample with similar scenario: ONLYOFFICE Api Documentation - Macro samples
Is this what you are looking for? If I misunderstood your request, please clarify it.

Hi Alexandre, thanks for your response but my question was from document builder script and not from macro.

Understood, we’re checking the situation. I will update this thread when we have something to share.

Sorry for the late reply, probably it just slipped my mind.
You can use the same method for the document builder, thus running JS context (ONLYOFFICE Api Documentation - ONLYOFFICE Document Builder integration API) in the docbuilder script.
Please let us know if you face any issues.
I have to say sorry hundred times for the late reply and it wouldn’t be enough.