Skip to main content

How to filter the data using voice commands, making it a wild match?

 

I have the Site name as shown in the filter above. I want to filter any Site Name using voice commands, for eg., if i say Bull Street, then there should do the wild match to filter the Site 1/125 Bull St, New Delhi. The same way is say Singham Road it must filter 21/585 Singham Rd Mt St jahn.

 

I was using the below code to filter my data:

 

here in noteContent the Site name , like Bull Street, Singham etc. will be passed.

function FilterSite(noteContent)

      {

  var worksheets = activeSheet.getWorksheets();

   for(var i = 0; i < worksheets.length; i++)

   {

activeSheet.getWorksheets()[i].applyFilterAsync('Site', noteContent, tableau.FilterUpdateType.REPLACE);

     }

 

      }

 

Any help on this would be appreciated.

12 answers
0/9000