How to create a Dynamic Content Block using info from Interactive Filter

samueldavidserr
Kilo Contributor

Hello,

I try to create a Dynamic Content Block to show dynamically the selected field from a Interactive filter.

I 've been using Jelly to show the field. I need obtain the sys_id selected from intercactive filter.

<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<g:evaluate>
var message = [dynamic_filter_value_selected];
</g:evaluate>

Project Name:${message}<br/>
</j:jelly>

 

 

8 REPLIES 8

Anupama7
Kilo Contributor

Hi,

Did you find solution to this?

I have exactly same requirement.

i need to diplay value in content block based on the location value selected in interactive filter.

Adam Stout
ServiceNow Employee
ServiceNow Employee

Take a look at the Lab on Custom Interactive Filters from K19 (in the on-demand library).  There are a bunch of examples in there.

Hi Adam, 

Could you please provide the link? -  Lab on Custom Interactive Filters from K19 (in the on-demand library)

Thanks

Community Alums
Not applicable

Hey cspra if you still need it here it is.

Lab on Custom Interactive Filters from K19