Ideas

New Parameter for 'Where' array filter

New Parameter for 'Where' array filter

19.0 Lava Complete

Please enable us to use 'Contains' as one of the Parameters for the Where array filter.

Using the same example as the documentation, this Lava:

{{ CurrentPerson.NickName }}'s other contact numbers are: {{ CurrentPerson.PhoneNumbers | Where:'NumberTypeValueId', 136, 'notequal' | Select:'NumberFormatted' | Join:', ' }}.

Returns this output:

Ted's other contact numbers are: (623) 555-5551, (623) 555-5552.

I would like to use contains as my parameter instead of only having the options for 'equal' and 'notequal'. For example, this Lava:

{{ CurrentPerson.PhoneNumbers | Where:'Number', '52', 'contains' | Select:'NumberFormatted' | Join:', ' }}.

Would return this output:

(623) 555-5552
Photo of Tim SeoSubmitted by Tim Seo, The Summit Church  ·   ·  Lava
Photo of Nick AirdoComplete Nick Airdo, Spark!  · 

This will be in Rock v19 and can be seen in the upcoming PreAlpha server (https://rockrmslatest.com/) version 19.0.7 in another week or so.

Planned Version 19.0
Ministry Strength 1 / 5
Feature Size Small
Login to add a comment...

Submission Success Tips

Cultivate your ideas for maximum impact with these helpful submission tips that will increase the chances of your brilliant concepts becoming reality.

  • Clear Title: Craft a straightforward and descriptive title that instantly conveys the essence of your idea.
  • Concise Description: Provide an idea description that is succinct, ensuring it effectively communicates the concept without unnecessary verbosity.
  • Provide Additional Details: With a concise description complete, now provide any other details that are needed to better understand the requirements.
  • Thorough Ministry Need Review: Provide a comprehensive overview of the ministry need your idea addresses, emphasizing its significance.
  • Cover the WHY: Clearly articulate the rationale behind your idea, explaining why it's essential and how it aligns with the organization's goals and mission. Oftentimes a clear "why" sheds light into other possible options.