03-09-2011 05:39 AM
05-10-2011 09:29 AM
05-10-2011 11:41 AM
var data = connector.get("/mysearch/advsearch?guest=true&q=" + url.args['phrase']);
05-19-2011 04:37 AM
var connector = remote.connect("alfresco");
// Get an XML ticket to authenticate
var raw_ticket = connector.get("/api/login?u=USER_NAME&pw=USER_PASSWORD");
raw_ticket = raw_ticket.toString();
var string_from = raw_ticket.indexOf("<ticket>");
var string_to = raw_ticket.indexOf("</ticket>");
// Get only the content inside <ticket> tag
var ticket = raw_ticket.substring(string_from + 8, string_to);
// URL to the advsearch webscript
var s_url = "/mysearch/advsearch.html?alf_ticket=" + ticket + "&guest=false";
// Append the parameters…
if(var1 != null) s_url += "&var1=" + encodeURI(var1);
// …
// Call the webscript
var data = connector.get(s_url);
+@myaspect\\:myMetadata:(' + var1 + ')
05-19-2011 05:19 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.