08-28-2007 01:01 PM
var catSearchPath = "PATH:\"/cm:categoryRoot/cm:generalclassifiable/cm:" + categories[j].replace(/\+/g,"_x0020_").replace(/&/g,"_x0026_").replace(/\//g, "/cm:");
function getSpaceXPath(disPath,rootsapce){
var spacePath="PATH:\"";
var disPPath=disPath.split("/")
for (k=1;k<disPPath.length;k++ ){
if (disPPath[k]=="Company Home"){
spacePath+="/app:company_home";
}
else{
var value=disPPath[k];
spacePath+="/cm:"+value.(/ /g,"_x0020_").replace(/&/g,"_x0026_"); }
}
spacePath+="/cm:"+rootsapce+"//*\""
return spacePath;
}
Failed to execute script 'workspace://SpacesStore//Company Home/Data Dictionary/Web Scripts/org/alfresco/bg/portlet/links/links.get.js': Failed to execute script 'workspace://SpacesStore//Company Home/Data Dictionary/Web Scripts/org/alfresco/bg/portlet/links/links.get.js': The choice of Java constructor replace matching JavaScript argument types (function,string) is ambiguous; candidate constructors are: class java.lang.String replace(java.lang.CharSequence,java.lang.CharSequence) class java.lang.String replace(char,char) (AlfrescoScript#76)
Exception: org.mozilla.javascript.EvaluatorException - The choice of Java constructor replace matching JavaScript argument types (function,string) is ambiguous; candidate constructors are: class java.lang.String replace(java.lang.CharSequence,java.lang.CharSequence) class java.lang.String replace(char,char) (AlfrescoScript#76)
08-29-2007 05:24 AM
spacePath+="/cm:"+value.(/ /g,"_x0020_").replace(/&/g,"_x0026_");spacePath+="/cm:"+value.replace(/ /g,"_x0020_").replace(/&/g,"_x0026_");
08-29-2007 09:13 AM
spacePath+="/cm:"+value.replace(/ /g,"_x0020_").replace(/&/g,"_x0026_");
spacePath+="/cm:"+value.replace(" ","_x0020_").replace("&","_x0026_");
08-29-2007 01:14 PM
10-10-2007 06:10 PM
10-10-2007 06:34 PM
06-10-2008 11:22 AM
06-16-2008 08:49 AM
function trimString(str) {
var s = new String(str);
return s.replace(/^\s+|\s+$/g, '');
}
10-06-2008 11:36 AM
01-29-2014 05:52 AM
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.