40
Views
4
Comments
Advance Manipulation of Word Template (docx)

Hi All,

Is there any recommendations of plugin (including commercial versions) which i can explore to help in manipulation of word docx file?

From what i can see available in forge are word utility that generally provides a placeholder which is then replaced (be it text, paragraphs or images).


My word docx is something like below

Section 1

Sub Section 1.1

Sub Section 1.2

Sub Section 1.3

Sub Section 1.4


Depending on conditions, 

1) entire section (i.e. Section 1 - including sub section 1.1 to 1.4) in docx file can be removed 

2) some of the Sub sections (e.g. Sub Section 1.2, Sub Section 1.4, etc.) can be removed

3) specific words in individual sub sections can be removed (i think this can be easily achieved by some existing forge components) . hence, this i think is achievable.

Appreciate any guidance out there.

Cheers!

2025-11-25 13-20-12
Tamirys Silva Barina

Hi,

Unfortunately, there is no component or plugin available in the OutSystems Forge that provides advanced Word (.docx) file manipulation features such as removing entire sections or specific subsections. They are limited to allow basic operations. I’m not aware of any third party plugin which could be integrated with OS for advanced Word manipulation. You could consider develop custom logic in C# or .NET to programmatically manipulate the .docx files and integrate it with your OS or use the DocX library, and integrate them into your application. The DocX library is an open-source .NET library available on GitHub that provides capabilities for creating, modifying, and processing Word documents.

Kind Regards,

Tami

UserImage.jpg
Keith Oon

Thanks Tami. Let me explore along your suggestion.

UserImage.jpg
Keith Oon

As a update, Aspose (Aspose.Words for .NET) is good for resolving this.

Steps to do it

1) Create extension in Integration Studio (this will allow you to use C# in Visual Studio where you need to add the Aspose libraries)

2) Apply logic in C# to manipulate the docx

3) Publish the extension in Integration Studio

4) Add the extension library to your service studio so that you can use it in your APP

 

2017-04-20 10-11-42
Mitch JT

Hi Keith, I have a very similar requirement and also need to create an extension for Aspose.Words Conditional Blocks.

Would it be possible to share the extension you created as an example to me and others? It would be greatly appreciated.

Many thanks!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.