03-27-2012 01:46 PM
var document = space.childByNamePath("doc000000011.xml");
logger.log(document);
var tList = document.getThumbnails();
for (var t in tList) {
logger.log(t);
}
Works, but the iteration over tList prints out
0
1
2
Which I honestly would not have expected. However, by contrast
var document = space.childByNamePath("doc000000011.xml");
var tdList = document.getThumbnailDefinitions();
for (var td in tdList) {
logger.log(td);
}
logger.log("Done getThumbnailDefinitions");
Throws an error that function getThumbnailDefinitions cannot be foundFurther
var document = space.childByNamePath("doc000000011.xml");
logger.log(document);
var tList = document.getThumbnails();
for (var t in tList) {
t.update()
logger.log(t);
}
logger.log("Done getThumbnails");
Throws an error thatfunction update cannot be found
03-29-2012 11:37 AM
var document = space.childByNamePath("doc000000011.xml");
logger.log(document);
var tList = document.getThumbnails();
for (var i = 0; i< tList.lenght; i++) {
var t = tList[i];
logger.log(t);
}
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.