Displaying Email Layout in Notification

damirdoszhan
Tera Contributor

Dear Community!

I created new email layout with company's branding needs, added it to email templates with notification email scripts and chose in notification to

display specific text in custom format. But there is a problem, system is not displaying email layout when I press "Preview Notification" button.

It displays only mail scripts values from email templates. I have tested this option in developer instance too, but there was a same problem.

Thanks in advance!

1 ACCEPTED SOLUTION

I too am having the same problems. When I copied the original notification (via Insert) it would not work. By exporting the records as XML and comparing in Notepad++, I found a difference from the inserted version.



Wherever a variable is called out as ${variable}, in the version that was copied it was actually stored as $X{variable} where X is an invisible invalid character. The only way I could delete that invalid character (X) was to check the box for Advanced, paste in there. Then I put my cursor between the $ and {, and pressed delete.



Once you press delete, the { and corresponding } will light up green, indicating those are currently highlighted by the cursor. Doing that for all ${variable} references made this work by means of previewing.




Now I am trying to make my custom template work. I'm finding I can only work with Advanced, and it is VERY, VERY picky on what it will accept and render. So far I've had to scrap my template, and just slowly change the original one piece by piece.


View solution in original post

15 REPLIES 15

Hi Damir & Rob,



If you can share your HTML content of email template, that will be helpful to find the issue.


Here is the content of the layouts. The one on the left is the original demo data layout that works fine. The one on the right is an identical copy created using the Insert action that does not work. I wasn't able to spot any differences.



email_layout_issue.png


I too am having the same problems. When I copied the original notification (via Insert) it would not work. By exporting the records as XML and comparing in Notepad++, I found a difference from the inserted version.



Wherever a variable is called out as ${variable}, in the version that was copied it was actually stored as $X{variable} where X is an invisible invalid character. The only way I could delete that invalid character (X) was to check the box for Advanced, paste in there. Then I put my cursor between the $ and {, and pressed delete.



Once you press delete, the { and corresponding } will light up green, indicating those are currently highlighted by the cursor. Doing that for all ${variable} references made this work by means of previewing.




Now I am trying to make my custom template work. I'm finding I can only work with Advanced, and it is VERY, VERY picky on what it will accept and render. So far I've had to scrap my template, and just slowly change the original one piece by piece.


robbognar
Kilo Contributor

Thanks, Brian. Copy/pasting into Advanced and deleting the extra characters in the variables (highlighted in green below) resolved the issue for me as well.


2017-06-05_15-02-50.png


I also had this issue, and it took me many hours of hair pulling to figure out! Thanks Brian and all for helping find this bug. Hopefully they'll get it fixed soon!