Created on 19 April 2021
icon_unfollowing
Login to follow
worddocumentutility

Word Document Utility

Stable version 1.0.2 (Compatible with OutSystems 11)
Uploaded on 14 February 2022 by 
worddocumentutility

Word Document Utility

Details
Word document utility will help you for view the docx file in html and you can search and replace the parameter values
Read more

This will help you for below features –

  • Convert Word document to HTML Page – getting the html page
  • Search & Replace the text Value – this will help you parameterize the search the text / HTML string and replace the value.  



Release notes (1.0.2)

We are enhancing the features in this components 

We are providing the search and replace features for below items

  •  Plain text - this already in component 
  •  HTML tags - encode tags and add in JSONformat 


e.g. 

HTML Text : <b>Hello, Shahaji</b>

Encoded String :  <b>Hello, Shahaji</b>


Sample JSON :

[{'Name':'CompanyName','Value':'ABC Pvt. Ltd.'},

  {'Name':'StreetAddress','Value':'Head Office, Santacruz East.'},

  {'Name':'Phone','Value':'9067001347'},

  {'Name':'Email','Value':'shahaji.nangare@gmail.com'},

    {'Name':'WebSite','Value':'www.google.com'},

   {'Name':'CaseNumber','Value':'28923'},

  {'Name':'RecipientName','Value':'test'},

  {'Name':'StreetAddress1','Value':'n/a'},

    {'Name':'UserName','Value':'Shahaji'},

    {'Name':'Title','Value':'<b>Mr.</b>'}

  ]


Word Document Content : 

Copy the below content in word file and test with demo application use above sample json for replacing the plain text and html string values. 

{{CompanyName}}

{{StreetAddress}}

{{Phone}} 

{{Email}}

{{WebSite}}

Case Number :{{CaseNumber}}

 

{{RecipientName}}

{{StreetAddress1}}

 

Dear Recipient,

Write the body of your letter here.  To update any of the information in this letter, simply click and start typing!

 Want to customize your color palette?  Just go to the Design ribbon, and select Colors from the list.  If you choose a color palette that you like, the colors of the header images will update, as will the text colors.  Make the document yours!

 Want to change the fonts that are used?  That is just as easy to update.  Just go to the Design ribbon and choose Fronts from the menu options.  You can use a built-in font combination or choose one of your own.  

 Warm regards,

 {{UserName}}

 {{Title}}




Reviews (1)
by 
2022-10-04
in version 1.0.2
Unfortunately the pictures don't work but it makes sense. Good component for sure
Category
Functional libraries & utilities, Files & documents
Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
Word Document Utility has no dependencies.
Application Objects
Word Document Utility has 0 AOs.
Team
Compatible with
Version 11
Database:
All
Asset consumers
No consumers yet.
Weekly downloads