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
5 replies
Subscribers
7 subscribers
Views
2286 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Hi there ! I have a grid (not SAIL) where I'm printing a very big
michelb
over 10 years ago
Hi there !
I have a grid (not SAIL) where I'm printing a very big text which is queried from the database.
The problem is that depending on the case one single text come as multiple texts printing many lines
instead of one (as the print attached).
Now that I'm trying to change the field (that saves this texts) to Rich Text enabled the
problem is happening almost every time. I need to change to Rich Text because it's an e-mail and
is being sent unformatted.
What could I do to print the text in a single line for each e-mail ?
I tried to use "striphtml", "fromhtml", "substitute" to clean off some tags and even "trim" functions to solve
the problem but had no success.
Thanks,
Michel B...
OriginalPostID-136660
OriginalPostID-136660
Discussion posts and replies are publicly visible
0
jakeg
over 10 years ago
Hi Michel, I'm having trouble understanding your description of what its supposed to look like, is there any chance you can attach a sample/mockup of what you want to happen?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
michelb
over 10 years ago
Hi Jake !
I'm sorry, maybe I was not very clear.
To sum it up: This print shows two messages, but one of them is automatically splitted into three lines by the grid. I just want to show it in just one line, as it happens with the first message of the grid.
Thanks,
Michel B
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
hajii
over 10 years ago
It may be due to ;'s in the text?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Andrew P Gramann
Certified Lead Developer
over 10 years ago
Building off of Haji's comment: Semi-colons (";") in text can mess up the way portal editable grids display information. In the past, I've used the substitute() function to swap semi-colons out for commas.
Hope that Helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
michelb
over 10 years ago
Hejii and Andrewg, that was really the case.
As I was not using ";" originally in the e-mail templates, I didn't even realize that when using the "Rich Text" option it would add the ";" to the messages.
I just used the "substitute" as you indicated and it worked fine!
Thanks a lot !
Regards,
Michel B
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel