Hi,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];
break;
}
}
var sand = project.getSandboxes(); // <—– according to documentation, here is ScriptableHashMap
When now I try to call :
sand.getIds();
the webscript complains:TypeError: getIds is not a function, it is null
Does anybody know how what to do with that?