Hello.
I have the following html text stored in an attribute with and html editor.
<p><<IF Work.StartDate > 01/04/2024 AND Work.Frequency IS DEFINED AND Work.PricePerService > 1.00 AND Work.ps_ModuleStatus.Status = 'Work Won Regular' THEN SHOW SECTION_START>></p>
However, when i go into edit the raw html again, > is changed to > like so
<p><<IF Work.StartDate > 01/04/2024 AND Work.Frequency IS DEFINED AND Work.PricePerService > 1.00 AND Work.ps_ModuleStatus.Status = 'Work Won Regular' THEN SHOW SECTION_START>></p>
I use the html in this manner:
OutgoingEmail.Message = EmailTemplate.Message
OutgoingEmail.Message is populated with all the tag expresssions normally.
The entire HTML has no issues as I am able to export it as a document.
I think the attribute being an html editor is just doing some text processing in the backend.
Any way to help with this would be great.
Thank you
HTML textbox for merge templates > in tags
-
- Posts: 1476
- Joined: Tue Jan 24, 2017 5:51 am
- Location: 'Stralya
Re: HTML textbox for merge templates > in tags
https://www.awareim.com/dokuwiki/doku.p ... nside_tags
You have to place double chevrons << >> around rules in html
You have to place double chevrons << >> around rules in html
Re: HTML textbox for merge templates > in tags
In plain text attributes using html editor, << and >> are converted to << and >>
That works.
Its when i want to use the < and > symbols inside the tags where it does not work.
That works.
Its when i want to use the < and > symbols inside the tags where it does not work.
-
- Posts: 1476
- Joined: Tue Jan 24, 2017 5:51 am
- Location: 'Stralya
Re: HTML textbox for merge templates > in tags
What happens if you change the EmailTemplate.Message to just be plain text. If the OutgoingEmail.Message is HTML should it not just pickup the formatted text?
Re: HTML textbox for merge templates > in tags
Getting this error.
Im not sure why.
com.bas.shared.ruleparser.ParseException Semantic analysis for the attribute Work.ServiceDay has not been performed.
The customer also edits the email templates so keeping the html editor is better.
Im not sure why.
com.bas.shared.ruleparser.ParseException Semantic analysis for the attribute Work.ServiceDay has not been performed.
The customer also edits the email templates so keeping the html editor is better.
Re: HTML textbox for merge templates > in tags
I think the issue is with SHOW SECTION_START.
Ill have an attribute storing HTML which uses SHOW SECTION_START.
If i remove SHOW SECTION_START then it works.
If i keep it, i get the semantic error.
Maybe SHOW SECTION_START isnt supported when used like this?
Ill have an attribute storing HTML which uses SHOW SECTION_START.
If i remove SHOW SECTION_START then it works.
If i keep it, i get the semantic error.
Maybe SHOW SECTION_START isnt supported when used like this?