Lava Filters - SetUrlParameter

Category:Other

Description:Sets a parameter in the input URL string and returns the updated URL.
Input:
Lava: Example 1: {{ 'https://rocksolidchurchdemo.com/reporting/reports/12' | SetUrlParameter:'ReportId','155' }} Example 2: {{ 'https://rocksolidchurchdemo.com/reporting/reports' | SetUrlParameter:'CategoryId','101' }}
Output: Example 1:
https://rocksolidchurchdemo.com/reporting/reports/155
Example 2:
https://rocksolidchurchdemo.com/reporting/reports?CategoryId=101