You are here


tagSearch(store, tag) performs a search on a given tag in a given store.

The default store (SpacesStore) is used if null value is supplied.


The store in which to search. The default is workspace://SpacesStore if null is provided for this parameter.
The tag to search for. Any node with this tag will be returned as part of an array of nodes.


Returns an array of ScriptNode objects that represent the nodes within the store that have the given tag applied.


var store = "workspace://SpacesStore";
var tag = "mining";
var nodes = search.tagSearch(store, tag);

Returns nodes that have the tag "mining" applied to them.

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.