You need to sign in to do that
Don't have an account?
raynesh
Print Anything and line breaks
Hi,
I'm fairly new to salesforce but we've recently installed the "Print Anything" application so we can develop printable HTML versions of our data.
Currently im working on making a printable version of Events but I'm having a problem in displaying string data that has line breaks. Like on Salesforce the description field will show the line breaks as entered, but in the Print Anything template that i've created it seems to be removing all the line breaks.
I've had a similar problem before using ASP.NET.... but they way I got around to that was replacing any line breaks with <br />
Is there any way of doing something similar in Print Anything, SOQL... or any suggestions would be highly appreciated!
Thanks!!!
I'm fairly new to salesforce but we've recently installed the "Print Anything" application so we can develop printable HTML versions of our data.
Currently im working on making a printable version of Events but I'm having a problem in displaying string data that has line breaks. Like on Salesforce the description field will show the line breaks as entered, but in the Print Anything template that i've created it seems to be removing all the line breaks.
I've had a similar problem before using ASP.NET.... but they way I got around to that was replacing any line breaks with <br />
Is there any way of doing something similar in Print Anything, SOQL... or any suggestions would be highly appreciated!
Thanks!!!
e.g mergeData["Task1.Description"] = mergeData["Task1.Description"] .replace( new RegExp( "\n", "g" ), "<BR>" );
All Answers
Have you been able to solve this?
This is critical if you try to display the text(long) or text(area) fields on the quote.
Your assistance is greatly appreciated.
Thanks,
Dmitri
e.g mergeData["Task1.Description"] = mergeData["Task1.Description"] .replace( new RegExp( "\n", "g" ), "<BR>" );