Free Support Forum - aspose.cloud

Search & Replace multiple strings in a single API Call with Aspose.Words Cloud

Hi support team,

Thanks for your awesome product, really love it!

Currently I am using NodeJS SDK to handle API Call with Aspose.Word. I have a small question:

I have a document like that:

{{ Text1 }} {{ Text2 }} {{ Text3 }} {{ Text4 }} ... {{ Text100 }}

Currently, I need to call Search & Replace API 100 times, and it not good for performance.
According to Replace multiple text items in a single API call using replaceText API of Aspose.Words Cloud, there is no way to do multiple Search & Replace in one API call.
But can you guys please tell me if there is another way to improve it?

Thanks,
Duc.

@ducbuiquangxd

Thank you for contacting Aspose Support.

I have logged a request WORDSCLOUD-409 for our Development team to extend
POST /words/{name}/replaceText API that will let you replace multiple text items in a single API call. Please spare us some time for implementation. Your patience would be appreciated.

Thanks for your help!

Please ping me whenever. multiple search & replace text feature is integrated.

@ducbuiquangxd

Sure, we will update you here as soon as the feature is implemented.

@ducbuiquangxd

We would suggest you use our Mail Merge features that are appropriate for the use case of mass text replacement.