Support Article
While generating PDF, It does not take new line characters
SA-8451
Yes
SUMMARY
While generating PDF, It does not take new line characters and bullet points and format is lost.
Example:
• Breakfast – 9.00 – 9.30
• Welcome – 9.30 – 9.45
• Session #1 – 9.45 – 11.45
• Lunch
Is shown as :
Agenda is as follows: • Breakfast – 9.00 – 9.30 • Welcome – 9.30 – 9.45 • Session #1 – 9.45 – 11.45 • Lunch
NA
Enter following data in section. Generate PDF using HTMLToPDF activity as below.
• Breakfast – 9.00 – 9.30
• Welcome – 9.30 – 9.45
• Session #1 – 9.45 – 11.45
• Lunch
This is shown as :
Agenda is as follows: • Breakfast – 9.00 – 9.30 • Welcome – 9.30 – 9.45 • Session #1 – 9.45 – 11.45 • Lunch
The root cause of this problem is a defect in customer application code/rules. Section used by user is not using any control and just referencing single property. Updated the section to use TextArea Control.
This issue is resolved through the following local change:
Update the section to use TextArea Control (Section used by was not using any control and just referencing single property. )
SUMMARY
While generating PDF, It does not take new line characters and bullet points and format is lost.
Example:
• Breakfast – 9.00 – 9.30
• Welcome – 9.30 – 9.45
• Session #1 – 9.45 – 11.45
• Lunch
Is shown as :
Agenda is as follows: • Breakfast – 9.00 – 9.30 • Welcome – 9.30 – 9.45 • Session #1 – 9.45 – 11.45 • Lunch
Error Messages
NA
Steps to Reproduce
Enter following data in section. Generate PDF using HTMLToPDF activity as below.
• Breakfast – 9.00 – 9.30
• Welcome – 9.30 – 9.45
• Session #1 – 9.45 – 11.45
• Lunch
This is shown as :
Agenda is as follows: • Breakfast – 9.00 – 9.30 • Welcome – 9.30 – 9.45 • Session #1 – 9.45 – 11.45 • Lunch
Root Cause
The root cause of this problem is a defect in customer application code/rules. Section used by user is not using any control and just referencing single property. Updated the section to use TextArea Control.
Resolution
This issue is resolved through the following local change:
Update the section to use TextArea Control (Section used by was not using any control and just referencing single property. )
Published April 29, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.