Skip to main content
Solved

Use semicolon ; in a report rule


Forum|alt.badge.img+10
  • Hero (Partner)
  • 203 replies

In a report rule, in order to format a link into the email message I would need to use a semicolon.

It seems this is not possible in the report rule? Any workarounds for this?

Report rule setup

 

The messages field needs to include a formatted url to the customer order so I tried this

I even tried to add in stead of ; this [&SELECT CHR(59) AS result FROM dual] but that results in the same problem that the report rule engine is splitting up after the semicolon?

Would there be a workaround for this as this is quite a problem if you want to add links from IFS as all the urls in ifs contains semicolons… if you want to filter.

I also tried to use Form%3B%24filter=  but that also did not work.

So is there a way to “escape” semicolons in the report rule?

I saw @dsj had a similar thing with semicolon on the attachments but that was not a solution in this case

Best answer by dsj

kvbe wrote:

So the report rule cannot be saved. as somehow the ; is not allowed or used to indicate a split between parameters. 

if I use %3B it gets saved and all is working  but the link encoded with %3B is not working. 

 

I like the report rules just because it makes things easy to define it for multiple reports etc. But maybe I will have no choice but to go for an event.

 

 

 

I see it now. I think it’s could be a limitation since ; is used to separate the properties in Report rules.

As a workaround, you can create a custom field in the entity which the report is based to generate the URL as you want with semicolon, and add it in the email body?

 

/Damith

View original
Did this topic help you find an answer to your question?

4 replies

dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • 880 replies
  • March 14, 2024

Hi @kvbe 

How’s the link in the email looks like?

 

I usually don’t use the email action in report rules and prefer the PDF_REPORT_CREATED event over that for sending external emails ;)

 


Forum|alt.badge.img+10
  • Author
  • Hero (Partner)
  • 203 replies
  • March 14, 2024

So the report rule cannot be saved. as somehow the ; is not allowed or used to indicate a split between parameters. 

if I use %3B it gets saved and all is working  but the link encoded with %3B is not working. 

 

I like the report rules just because it makes things easy to define it for multiple reports etc. But maybe I will have no choice but to go for an event.

 

 


dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • 880 replies
  • Answer
  • March 14, 2024
kvbe wrote:

So the report rule cannot be saved. as somehow the ; is not allowed or used to indicate a split between parameters. 

if I use %3B it gets saved and all is working  but the link encoded with %3B is not working. 

 

I like the report rules just because it makes things easy to define it for multiple reports etc. But maybe I will have no choice but to go for an event.

 

 

 

I see it now. I think it’s could be a limitation since ; is used to separate the properties in Report rules.

As a workaround, you can create a custom field in the entity which the report is based to generate the URL as you want with semicolon, and add it in the email body?

 

/Damith


Forum|alt.badge.img+10
  • Author
  • Hero (Partner)
  • 203 replies
  • March 14, 2024

@dsj  thank you thats indeed a workaround ! Still curious if there is no other way to escape a ; will keep you posted if I get something back from support


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings