As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
var strOrigName = document.properties.name; var jstrOrigName = new java.lang.String(document.properties.name); if (!jstrOrigName.contains("resized_")) { var tmpName = "resized_" + document.properties.name; document.properties.name = tmpName; var rImage=document.transformImage("image/jpeg","-normalize -resize 1024x768", document.parent); if (rImage){ document.properties.name = strOrigName; document.save(); document.remove(); } }
var jstrOrigName = new java.lang.String(document.properties.name); if (!jstrOrigName.contains("resized_")) {
var jSstrOrigName = new String(document.properties.name); if (!jSstrOrigName.contains("resized_")){
if (strOrigName.indexOf("resized_") != -1){