content block

Praveen75
Tera Contributor

Hi guys, I have created a content block and added to the dashboard. But the reports created on database view is not filtering out based on content block search. Please suggest. Thanks.

2 REPLIES 2

Mark Manders
Mega Patron

Can you share how you set it up? 


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

svdv
Tera Contributor

Hi @Praveen75 ,
 You have to specify and give the table and the field in which it which your data has to be filtered in that jelly script of the content block. 
For ex- 

var filterBusinessMessage = [];

     

      if (searchBusinessTerm !="none") {

        filterBusinessMessage = [

          {"table":"table_name","filter":"field_nameIN "+ dataList}

        ];

 

      }


Can you share more details so that I could provide you with exact solution?

If my answer helped you in any way, please then mark it as helpful or correct. This will help others finding a solution.