Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
+1
person also asked this
people also asked this
Replies
8 replies
Subscribers
7 subscribers
Views
3539 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
How to save a paragraph value with new line into PV?
shaoyongw
over 9 years ago
How to save a paragraph value with new line into PV?
OriginalPostID-143623
OriginalPostID-143623
Discussion posts and replies are publicly visible
0
shaoyongw
over 9 years ago
In SAIL Form
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
amerm114
over 9 years ago
Check on the below link:
forum.appian.com/.../Paragraph_Form_Component.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
amerm114
over 9 years ago
And this:
forum.appian.com/.../SAIL_Components.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ashish.deshmukh
A Score Level 1
over 9 years ago
New line in paragraph will be stored automatically in PV and you can see that added if you will map it to Some other paragraph field. But, the same if mapped to textfield the new line will not be retained. Also if you want to add multiple lines that can be done using ASCII char for newline.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
shaoyongw
over 9 years ago
In my case, I save this paragraph value into a PV and set the PV as email content. In the email the new line format lost. I don't know where should the ASCII char placed.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 9 years ago
Hi shaoyongw - Hope this helps!
1. Save this into PV - tohtml(substitute(PV,char(10),"<br>"))
2. While sending email - striphtml(PV)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
PhilB
A Score Level 1
over 9 years ago
It's probably worth making #1 in Sikhi's suggestion a reusable rule - you'll end up using it everywhere!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
shaoyongw
over 9 years ago
sikhi, your way is working. Thx!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel