AnsweredAssumed Answered

Web script - how to iterate ScriptableHashMap?

Question asked by morf3usz on May 24, 2010
Latest reply on Jun 21, 2011 by cmcmillen1

Does anyone know, how to iterate the ScriptableHashMap in Alfresco Web script? I have the following construction:

var projects = webprojects.listWebProjects();
var project;

for (var i = 0; i < projects.length; i++) {
    if (projects[i].getName() == 'HbbTV') {
        project = projects[i];

var sand = project.getSandboxes(); // <—– according to documentation, here is ScriptableHashMap
When now I try to call :

the webscript complains:
TypeError: getIds is not a function, it is null
Does anybody know how what to do with that?