Formatting changes while exporting to doc file
Service Studio Version
11.11.5 (Build 44224)

Hi All,

I'm trying to export the web screen content to doc file.

The issue faced over here is that I'm not getting the exact format which is there in web screen.

Any idea how to retain the formatting in doc file as well?


Saksham Srivastava 

Hi @Saksham Srivastava 

Are you currently using a forge component? There are a few out there in the forge such as:

I have not used these myself, so I am not sure which one will best suit your need.



Hi @AJ. 

We are using javascript in the client action to export the web page to a word document. 

Currently, we are facing an issue with linebreak between the texts. Tried amending the JavaScript to find the unique character "[" and add linebreak between each text, but not sure exactly where to incorporate it. Attaching both javascript1 and javascript2

Webpage output as below - we have used newline() predefined function by adding another expression.

Word Document output as below - After exporting the same web page to word document



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