Free Support Forum -

NodeJS documentation - mailmerge etc


I would like to get into use Aspose Cloud, but am really struggling with the lack of docs. Many of the links on the frontend are dead - like this for example:

Are there any plans to improve the NodeJs docs? I would really like more documentation on the wordsApi.postExecuteTemplate method, for example.

Specifically, would like to know the format for the data parameter in the request. The only docs for this method are in the dotnet and PHP SDKs, and they seem to use XML data which is stored as a file locally. Is this also the way that the NodeJS SDK works?

Is there any way of, say, passing a JSON object with the mustache template values?





Thanks for your interest in the We are already working on the documentation and hopefully these will be improved very soon.

Please check following documentation link for UI help topics.

Yes, we are in process to add the code examples of all supported SDKs in the documentation. We will update Node.js examples soon. Meanwhile, please find Node.js sample code for populating mustache template with data. It is using XML data, but you may also pass json data as file.

Furthermore, following directory contains the Unit Tests (examples) of each Node.js SDK API:

Please note, the Unit Tests are grouped by the type of action over the document. Action could be one of two types: we can somehow change document elements, e.g. bookmarks, fields etc. or we can make some document actions e.g. convert, mailmerge and so on.


That’s really great; thanks. I was able to get the merge working nicely with mustache templates within a word doc, by following the tests.