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

JK1
Giga Expert

Hello experts,


I have pointed this bug to HI and they created a defect. The issue comes from copying from field to field having html tabgs in it.



I posted a solution - bus. rule that fixes that via simple regex.


Search for email templates or for mu replies/posts and you'll find the regex. If you cant let me know i will post it here



Cheers


Joro