03-04-2013 04:41 AM
webapps/share/WEB-INF/classes/alfresco/share-documentlibrary-config.xml: <!– Transferred node: View in source repository –>
<!– <param name="href">{sourceRepositoryUrl}</param> –>
<param name="href">http://hector.uk.domain.com:8080/share/page/site/SITE/documentlibrary</param>
03-04-2013 07:33 AM
viewInSourceRepositoryURL : function q(aa, ac) {
var ab = aa.node, Z = aa.location.repositoryId, Y = this.options.replicationUrlMapping, ad;
/*if (!Z || !Y || !Y[Z]) {
return "#"
}*/
Z = "hector.uk.domain.com";
console.log(Z);
console.log(Y);
console.log(Y[Z]);
ad = ab.isContainer ? ac.folderDetailsUrl : ac.documentDetailsUrl;
ad = ad.substring(Alfresco.constants.URL_CONTEXT.length);
console.log("hector.uk.domain.com/share/'+ad);
//return G(Y[Z], "/", ad)
return G("?hector.uk.domain.com:8080/share/", "/", ad)
},
03-04-2013 07:49 AM
$combine(urlMapping[repoId], "/", siteUrl);
03-04-2013 08:06 AM
viewInSourceRepositoryURL : function q(aa, ac) {
var ab = aa.node, Z = aa.location.repositoryId, Y = this.options.replicationUrlMapping, ad;
console.log(Z);
console.log(Y);
console.log(this);
/*if (!Z || !Y || !Y[Z]) {
return "#"
}*/
//Z = "hector.uk.domain.com";
Y = new Array();
Y[Z] = "hector.uk.domain.com:8080/share/";
/*console.log(Z);*/
console.log(Y[Z]);
ad = ab.isContainer ? ac.folderDetailsUrl : ac.documentDetailsUrl;
ad = ad.substring(Alfresco.constants.URL_CONTEXT.length);
return G(Y[Z], "/", ad)
},
03-05-2013 08:08 AM
<config evaluator="string-compare" condition="Replication">
<share-urls>
<!–
To discover a Repository Id, browse to the remote server's CMIS landing page at:
http://{server}:{port}/alfresco/service/cmis/index.html
The Repository Id field is found under the "CMIS Repository Information" expandable panel.
Example config entry:
<share-url repositoryId="622f9533-2a1e-48fe-af4e-ee9e41667ea4">http://new-york-office:8080/share/</share-url>
–>
</share-urls>
</config>
03-06-2013 03:40 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.