Skip to main content
Solved

Filter Lobby - Is it possible have more than one value


Forum|alt.badge.img+5

Hello,

Is possible set up a lobby element to have more than one value for a lobby parameter in Apps10 IE.

An example would be where a user wants to see shipping information for two Sites and wants to enter those sites in the Lobby Parameter.

I think the answer is ‘No’ but I want to make sure.

Thank you in advance

Best answer by CallumW

Hi,

 

You can use regular expressions in the condition of the data source for the element.

 

Where contract is the field name and $Site$ is the lobby parameter.

REGEXP_LIKE(contract, replace(replace('$Site$',',','|'),'%','^'))

 

The example above is using a comma as the delimiter, so the user would need to enter in the following format: SITE1,SITE2,SITE3 etc…

(It doesn’t like if you try and use a space after the comma in your example image)

 

Thanks, Callum

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

3 replies

CallumW
Superhero (Partner)
Forum|alt.badge.img+15
  • Superhero (Partner)
  • 128 replies
  • Answer
  • May 25, 2022

Hi,

 

You can use regular expressions in the condition of the data source for the element.

 

Where contract is the field name and $Site$ is the lobby parameter.

REGEXP_LIKE(contract, replace(replace('$Site$',',','|'),'%','^'))

 

The example above is using a comma as the delimiter, so the user would need to enter in the following format: SITE1,SITE2,SITE3 etc…

(It doesn’t like if you try and use a space after the comma in your example image)

 

Thanks, Callum


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Customer)
  • 9 replies
  • May 26, 2022

Thank you so much!!!! I’ll try it right now!


Forum|alt.badge.img+5
  • Author
  • Do Gooder (Customer)
  • 9 replies
  • May 26, 2022

Works like a charm!!! Thank you again!


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