Method to pass URL params to a table's search box?

  • 1
  • Question
  • Updated 5 years ago
  • Answered
  • (Edited)
Is there a way that I can pass in a string (via URL parameter) to a page with a table and have that string populate in the table's search box? Currently I can set a model's conditions with the parameter, but that is problematic to handle when you want users to be able to use the search box and other table filtering options, though I'm open to other options that could accomplish the same thing.
Photo of Peter Bender

Peter Bender, Champion

  • 6,296 Points 5k badge 2x thumb

Posted 5 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,828 Points 20k badge 2x thumb
Peter,  there is not any easy way to prepopulate the search results,  but you can pass a parameter that prepopulates a filter.  Your filter could be set on a particular string field that you wanted users to use for thier primary filtering of the table.   Not as powerful as search directly. 

The url paramter is as follows.


If it is a toggle filter, syntax is  &MyConditionName=-on

And of course if you don't have any other URL parameters - lead with a ? instead of a &....

Hope that helps.