Any pointers on implementing a Main-Table filters to control/filter data in other tables in Skuid Page ?

  • 1
  • Question
  • Updated 3 years ago
Photo of KVin

KVin

  • 1,158 Points 1k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Skuidward Tentacles (Raymond)

Skuidward Tentacles (Raymond), Champion

  • 17,224 Points 10k badge 2x thumb
Instead of using the actual table filter functionality, you could instead use page titles or navigation items to activate and set the value of model conditions then requery the model. That should have the effect of "filtering" many tables from the same button.
Photo of KVin

KVin

  • 1,158 Points 1k badge 2x thumb
Yes, in this case I am trying , this is a picklist field .

Not sure how this works.
Photo of KVin

KVin

  • 1,158 Points 1k badge 2x thumb
Also forgot to mention, the model is a REST model I am using , which gets data from an Apex controller. 

Picklist fields are Ui-Only , gets populated on page load by custom field renderers.
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Interesting scenario.  

If I understand correctly - your picklist values are being generated by the REST model,  and you want use these values as the options in a filter on another model.   You should look into the "Field from another model" source for filters.  Build your filter on the second model and have the values be sourced from the REST model. 

Alternatively,  you could use the the cross model linked conditions that Pat Vachon proposed. 

https://community.skuid.com/skuid/topics/cross-model-linked-conditions

Cheers. 
Photo of KVin

KVin

  • 1,158 Points 1k badge 2x thumb
Good one!
I will try this . . . 

Thank You.