This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Oct 17, 2013, 6:44 AM
21 Posts

Select All Checkbox in View Panel using SSJS button

  • Category: Server Side JavaScript
  • Platform: All
  • Release: 8.5.3
  • Role: Developer
  • Tags:
  • Replies: 4

I can manually check the checkboxes in view panel and run SSJS using a button using 'getSelectedIds'.

Now I want to check all the checkboxes automatically when I press the button so that I can run the SSJS for all the documents.

Please help, TQ.

Oct 17, 2013, 1:29 PM
366 Posts
There is a checkbox....

in the column header property of the view column called "check box"  If you select it a check box will appear in the column header that allows you to select all the documents.

Oct 18, 2013, 1:28 AM
21 Posts
SSJS

Paul,

yes I know that feature...

but i need to click a button and run some SSJS on all the listed documents.

Oct 18, 2013, 12:18 PM
366 Posts
Why do you need to select them first?

If you have the document collection on the screen that you want to process and it's "all" of them why do you need to select them first?

Seems an un-neccessary step.

You can use the column header api to select them all in ssjs as well as the mentions csjs if that is a requirement. 

 


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal