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
Replies
7 replies
Subscribers
11 subscribers
Views
2409 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
Hello, I have my data coming from DB and I am displaying it on Tempo
tapans
over 9 years ago
Hello,
I have my data coming from DB and I am displaying it on Tempo records. Now my data contains couple of HTML Tags. Out of that I just want to render <br>,<p> and <a href> tag. I am using below function to render <br> and <p>.
joinarray(apply(fn!striphtml,split(rf!ProcessInstanceDescription,"<br/>")),char(13))
Now I am not sure how to render <a href> , so i can create hyperlink on desired text. Could anyone please suggest the modification required in above code to achieve this?
Sample data coming from my DB is attached in the screenshot.
Thanks!...
OriginalPostID-132406
OriginalPostID-132406
Discussion posts and replies are publicly visible
0
Stefan Helzle
A Score Level 3
over 9 years ago
SAIL cannot display HTML links in such a way. This is for security reasons.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Stefan Helzle
A Score Level 3
over 9 years ago
I think this is the same topic as last week. See
forum.appian.com/.../e-131781
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Christine
Appian Employee
over 9 years ago
Not sure the exact use case, but one idea would be to query the db to get any href values. Then in a section near the text display the array of links found using safelink or something else.
forum.appian.com/.../SAIL_Components.html
Maybe? This might give your users a central point for all links that could be clicked.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
tapans
over 9 years ago
Christine, tried the same without luck.
Seems Stefan is right, as this cant be achievable in SAIL.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Stefan Helzle
A Score Level 3
over 9 years ago
I think Christine's idea is good. I think there is a regular expression plugin available that might be good for that.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Stefan Helzle
A Score Level 3
over 9 years ago
For an own plugin I found some hints for java code here
www.mkyong.com/.../
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
tapans
over 9 years ago
Thanks Stefan, using regular expression, it worked.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel