Dear colleagues I want to get all nodes of a given type (not in given folder, but of a given type across al folders!), then to iterate it programmatically and to analyze value of some property for each document? Could you hint me piece of code, that do it or to give useful reference? Thanks in advance. I can not find example in manuals. Sincerely, Iliya
Dear Loftux Many thanks for your answer. But I need some refinement. Script, that you have referenced, take as "space"-value the current space, it was started from. I want to pass "space" to function explicitly, as parameter. How I can do that? Could you give some examples of calling codestring of this script with parameter, for example, from "Company Home" or some custom folder. Thanks in advance. Sincerely, Iliya
Just modify the code and pass in the starting node var mystartnode = utils.getNodeFromString(noderef) ; where noderef is a string of the noderef or you can do var mystartnode = companyhome.childByNamePath (string path);