Mass Action "Redirect to URL" only runs on first row.

  • 1
  • Problem
  • Updated 1 year ago
  • In Progress
I have an action sequence with two Redirect to URL actions, initiated by a mass action on a table. It appears to only run the actions for the first row, not on all rows.

Is it just me?
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Do you ahve the URL redirect actions set to open in Blank windows?  Otherwize I think the redirect is hijacking the browser and not letting the action steps continue.  This may be true even if the redirect is set to open in a Blank window.   Its too late to test tonight. 
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
I had it set to open in blank.

I already went the javascript route on this one, which is working fine.
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
This still seems to be a problem. Mass actions of the type Redirect to URL (with the target set to _blank) are only opening one new window, no matter how many rows are selected.
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Yup. Just had this happen with a client. Was disappointed as we were so close to cranking an awesome solution in 5 minutes time, and now I have to write javascript. No big deal for me but we were so so close!
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Skuid, any update on this one?
Photo of Oliver Sinfield

Oliver Sinfield

  • 922 Points 500 badge 2x thumb
Any update on this?
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
It's not designed to run on all rows. It's designed as a navigation item rather than a traditional mass action. We have added it as an enhancement request and could potentially see it released in a future update of Skuid.
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
When can we see features that we can vote on with points and such?
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
The best method right now is to vote on an idea in the community here by pressing "Me Too". Our design team does take into consideration how many of these are voted upon. We still aren't big enough to have the full spread like salesforce yet. Yet.
Photo of Oliver Sinfield

Oliver Sinfield

  • 922 Points 500 badge 2x thumb
Wrote a quick snippet to do this until there's a mass action for it. Create a table mass action to run the snippet below.
var params = arguments[0],  $ = skuid.$,
list = arguments[0].list,
selectedItems = list.getSelectedItems();

$.each( selectedItems,
function( i, item )
{
var row = item.row;
// Open page(s) for each row(s) passing Id of row(s) selected
url = "URL TO PAGE TO DO STUFF" + row.Id
window.open(url, '_blank');
});