We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Custom placeholders in WORD for replacement

Thread ID:

Created:

Updated:

Platform:

Replies:

123556 Mar 30,2016 03:36 PM UTC Apr 1,2016 09:46 AM UTC ASP.NET MVC 3
loading
Tags: DocIO
Testname
Asked On March 30, 2016 03:36 PM UTC

How can I use custom placeholders like "${placeholder}", instead of ">>placeholder<<" ?

Suganya Rathinam [Syncfusion]
Replied On March 31, 2016 07:29 AM UTC

Hi Customer,

Thank you for contacting Syncfusion support.

You can use custom placeholders as text for replacing the document contents. For your reference we have prepared a sample to replace the custom placeholder text in the template document with another text content. Please find the sample from the following link and let us know if it helps.

Sample Link:
http://www.syncfusion.com/downloads/support/forum/123556/ze/Sample-1573347365.zip

If we misunderstood any of your requirement then kindly elaborate the actual requirement with detailed description. Thereby we will analyse further on the mentioned case and will provided you appropriate solution.

Regards,
Suganya


Testname
Replied On March 31, 2016 09:51 AM UTC

If I have a list of text placeholder ,how to best replace the placeholder in my word file. What is the most performance way ?

Suganya Rathinam [Syncfusion]
Replied On April 1, 2016 09:46 AM UTC

Hi Customer,

Find and Replace functionality of DocIO helps to find a given text in the Word document and replace the same with the new text. Mail merge functionality of DocIO helps to replace the Word document contents with the data from the data source using the Merge fields.

If your requirement is to replace same text throughout the Word document then you can use Find and Replace functionality of DocIO. If your requirement is to replace document contents dynamically from the database then you can use Mail merge functionality of DocIO. Please find the following UG documentations links for your reference.

Find and Replace using DocIO:
http://help.syncfusion.com/file-formats/docio/getting-started#modifying-an-existing-word-document

http://help.syncfusion.com/file-formats/docio/working-with-find-and-replace

Mail Merge using DocIO:
http://help.syncfusion.com/file-formats/docio/getting-started#performing-mail-merge

http://help.syncfusion.com/file-formats/docio/working-with-mailmerge

Online Demos Link:
http://asp.syncfusion.com/demos/web/docio/replacewithformating.aspx
http://asp.syncfusion.com/demos/web/docio/employeereport.aspx

Regards,
Suganya


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;