How to save a paragraph value with new line into PV to display in Text Document

Hi All,

 

I am saving paragraph field data into pv and using that pv to fill the template which will substitue ###value### with that pv data.I am facing a problem, if user enters a ENTER key in a paragraph field then data after the ENTER KEY is not coming up in document.

For example: If a enter data in paragraph fields as 

Hello All,

Please find that attached document

Then when i generated document using "Text Document From Template", I am getting only

Hello All,

  Discussion posts and replies are publicly visible

Parents
  • I am assuming this is a word document?

    * Are u using directly a pv as text ? or a CDT with a field as text with length around 500 characters? are you saving to the DB before going to the template? or just passing the variable as captured?

    What about when debugging the interface or the process variable do you see the value properly stores in the pv?

    Best Regards
    Jose
Reply
  • I am assuming this is a word document?

    * Are u using directly a pv as text ? or a CDT with a field as text with length around 500 characters? are you saving to the DB before going to the template? or just passing the variable as captured?

    What about when debugging the interface or the process variable do you see the value properly stores in the pv?

    Best Regards
    Jose
Children
No Data