Skip to main content
Nintex Community Menu Bar
Question

V2 API Mass Action Javascript error skuid__SharedRuntimeJS:2 TypeError: list.getSelectedItems is not

  • July 11, 2024
  • 2 replies
  • 4 views

Forum|alt.badge.img+6

I am trying to figure out how to access selected check boxes via Javascript in the V2 API. I’m on Skuid version 12.2.14

In V1 I would do something like this and it would work:

var selectedItems = arguments[0].list.getSelectedItems();

But in V2 with the same setup the line of code above produces an error:

skuid__SharedRuntimeJS:2 TypeError: list.getSelectedItems is not a function

Does anyone have a code snippet they can share, it can be a link to Skuid documentation, that has an example of a V2 API reading selected items?

I attempted to adapt the code found in the first example on this page: https://docs.skuid.com/latest/en/skuid/javascript/snippets/using-snippets-intro.html but got the same error.

2 replies

Forum|alt.badge.img+13

Hi Joseph,

We don’t currently have the ability to do this exposed or documented yet for the V2 table / list components, but we will review and get back to you on this as soon as possible.

Zach


Forum|alt.badge.img+7

Is there any update on this?