Skip to content

Data provider filter via a custom query #12192

Answered by ConorWebb96
Mozix asked this question in Help
Discussion options

You must be logged in to vote

Hey @Mozix,

Sorry for the delay on responding to this one. Below are the steps I used to create a few simple exmaple.

  1. Created a query in my case called Pet Type.
  2. Simple select from the pets table to get the type of animal.
3. Created 2 pages one for the entire pets table and the other for queries results. 4. Added a create state action to a table based on the clicked row. Saved the type to state from the clicked row. 5. Referenced the persisted state inside the query settings area of the data provider within the table block.

End result

I hope this helps.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Mozix
Comment options

@ConorWebb96
Comment options

Answer selected by Mozix
@cl-provecto
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
bb-filtering Filtering data app-state Using the Update State action in Budibase
3 participants