You can apply JavaScript bulk actions to the search results of an object store query.
Procedure
-
Access the object store search in the administration console:
-
In the domain navigation pane, click the object store.
-
In the object store navigation pane, click the Search node.
-
In the details pane, click New Object Store Search.
-
On the SQL view tab, enter an appropriate query. For more information, see Examples: Bulk action queries and scripts.
-
On the Bulk Actions tab, select Enable.
-
In the Script section, select Run script.
-
Enter your JavaScript code into the Script field. For more information, see
Examples: Bulk action queries and scripts.
-
Click Run.
The administration console runs the query and the JavaScript action.