02-28-2014 04:50 PM
03-01-2014 12:57 AM
03-01-2014 06:25 AM
try
{
function main()
{
var thumbs=document.getThumbnailDefinitions();
try
{
if(contains(thumbs,"doclib"))
document.createThumbnail("doclib");
}
catch(err) { }
try
{
if(contains(thumbs,"webpreview"))
document.createThumbnail("webpreview",true);
}
catch(err) { }
}
function contains(a, obj) {
if(a.length>0){
for (var i = 0; i < a.length; i++) {
if (a == obj) {
return true;
}
}
}
return false;
}
main();
}catch(err) { }
03-01-2014 07:46 AM
03-01-2014 09:23 AM
03-01-2014 09:57 AM
03-01-2014 11:08 AM
var renditionDef = renditionService.createRenditionDefinition('cm:pdfExport', 'reformat');
renditionDef.parameters['mime-type'] = "application/pdf";
var renditionNode = renditionService.render(document, renditionDef);
03-01-2014 07:06 PM
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.