Populating values in a URL from a table

  • 1
  • Question
  • Updated 4 years ago
  • Answered
I would like to select records from a table and then use the mass action option to redirect to another skuid page where I can view information on the different records selected on a single page. The problem that I am having is that I can't pass any information through the URL from the mass action option and even if I could, how would I set up a model on the new page to capture this information? I don't think that I would be able to use a pop up either. Any ideas of how I could do this?
Photo of Nate Gilbertson

Nate Gilbertson

  • 1,194 Points 1k badge 2x thumb

Posted 4 years ago

  • 1
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Nate,

You can accomplish what you're looking for with a condition and a popup.

Add condition to your model where the Id field can be multiple specified values. Leave the values blank, and make the condition filterable default off.

Set your mass action to "Run multiple actions."
  1. Activate and set value of you condition. Set it to {{Id}}.
  2. Show popup.
Configure your popup with a field editor on the model.

Presto!

Every row you select will get its own field editor in the popup.
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
We've messed with a "sideways table view"  but haven't gotten anything that we feel merits publication.  The Table component can have a custom view - which opens it up to Javascript where you can define this changed axis.  This is possible. 
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Nate,

You could apply some CSS to the field editor on your popup, to limit their width and arrange them in rows. I'm pretty sure I saw a post on here at some point explaining how to do that.
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Photo of Nate Gilbertson

Nate Gilbertson

  • 1,194 Points 1k badge 2x thumb
This is great! Thank you!