Expand my Community achievements bar.

SOLVED

What is the syntax for using url parameters in javascript "condition" expression on a web application?

Avatar

Level 4

Hi there! I have made a javascript that is searching for recipients by an email value grabbed from a parameter in the url. 

I have this so far: 

SorenDahk_0-1624454877320.png

 

But it is failing because it can not read the value of the value <%=ctx.vars.email%>. 

Any pointer into how this can be achieved?  

 

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi @SorenDP ,

Could you please try setting the condition tag as follows

<condition expr={"@leadEmail = '"+ctx.vars.email+"'"}/>



View solution in original post

2 Replies

Avatar

Correct answer by
Level 4

Hi @SorenDP ,

Could you please try setting the condition tag as follows

<condition expr={"@leadEmail = '"+ctx.vars.email+"'"}/>