Highlighted
Super Contributor.
Super Contributor.
174 views

Email shows HTML tags

Jump to solution

Hi,  although I've set msg_buffer_size:10000  in sm.ini  there are some records where the {$RECORD.description} Text Box is larger than 10000 characters, so the mail shows the HTML tags

¿Is there any function, like substr i wonder, or any other way to format the {$RECORD.description} field in the HTML Editor to limit/truncate it?

Thanks in advance.

Good questions will have Good answers
Tags (2)
0 Likes
1 Solution

Accepted Solutions
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Email shows HTML tags

Jump to solution

Hello Norita,

hope you are doing fine.

Please test the workaround below:

-Go to the HTML template
-Go to expressions tab
-Add the following line: var description = $RECORD.description[0].substr(0, 600);
-Save the changes
-Test it
The expression will show only 600 characters from the description field. (600 is an example)

hope it helps, please let me know any concern.

Carlos Villalobos R
Customer Support Engineer
If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.

View solution in original post

2 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Email shows HTML tags

Jump to solution

Hello Norita,

hope you are doing fine.

Please test the workaround below:

-Go to the HTML template
-Go to expressions tab
-Add the following line: var description = $RECORD.description[0].substr(0, 600);
-Save the changes
-Test it
The expression will show only 600 characters from the description field. (600 is an example)

hope it helps, please let me know any concern.

Carlos Villalobos R
Customer Support Engineer
If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.

View solution in original post

Highlighted
Super Contributor.
Super Contributor.

Re: Email shows HTML tags

Jump to solution

Carlos, it works! thank you very much

 

Regards,

Good questions will have Good answers
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.