07-21-2011 05:03 AM
<?xml version="1.0" encoding="utf-8"?>
<service xmlns="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/" xmlns:alf="http://www.alfresco.org">
<workspace>
<atom:title>Main Repository</atom:title>
<collection href="http://cmis.alfresco.com:80/service/cmis/s/workspace:SpacesStore/i/87b2f129-3ad0-4a46-a6ea-05ecbfb54...">
<atom:title>root collection</atom:title>
<cmisra:collectionType>root</cmisra:collectionType>
</collection>
<collection href="http://cmis.alfresco.com:80/service/cmis/types">
<atom:title>type collection</atom:title>
<cmisra:collectionType>types</cmisra:collectionType>
</collection>
<collection href="http://cmis.alfresco.com:80/service/cmis/checkedout">
<atom:title>checkedout collection</atom:title>
<accept>application/atom+xml;type=entry</accept>
<cmisra:collectionType>checkedout</cmisra:collectionType>
</collection>
<collection href="http://cmis.alfresco.com:80/service/cmis/unfiled">
<atom:title>unfiled collection</atom:title>
<accept>application/atom+xml;type=entry</accept>
<cmisra:collectionType>unfiled</cmisra:collectionType>
</collection>
<collection href="http://cmis.alfresco.com:80/service/cmis/queries">
<atom:title>query collection</atom:title>
<accept>application/cmisquery+xml</accept>
<cmisra:collectionType>query</cmisra:collectionType>
</collection>
So the endpoint is http://cmis.alfresco.com:80/service/cmis/, I would like to have a way to configure this setting because from the web server I have a different hostname.
<?xml version="1.0" encoding="utf-8"?>
<service xmlns="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/" xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/" xmlns:alf="http://www.alfresco.org">
<workspace>
<atom:title>Main Repository</atom:title>
<collection href="http://localhost:8080/alfresco/service/cmis/s/workspace:SpacesStore/i/6195e453-5895-4fce-8c77-e697c8...">
<atom:title>root collection</atom:title>
<cmisra:collectionType>root</cmisra:collectionType>
</collection>
<collection href="http://localhost:8080/alfresco/service/cmis/types">
<atom:title>type collection</atom:title>
<cmisra:collectionType>types</cmisra:collectionType>
</collection>
<collection href="http://localhost:8080/alfresco/service/cmis/checkedout">
<atom:title>checkedout collection</atom:title>
<accept>application/atom+xml;type=entry</accept>
<cmisra:collectionType>checkedout</cmisra:collectionType>
</collection>
<collection href="http://localhost:8080/alfresco/service/cmis/unfiled">
<atom:title>unfiled collection</atom:title>
<accept>application/atom+xml;type=entry</accept>
<cmisra:collectionType>unfiled</cmisra:collectionType>
</collection>
<collection href="http://localhost:8080/alfresco/service/cmis/queries">
<atom:title>query collection</atom:title>
<accept>application/cmisquery+xml</accept>
<cmisra:collectionType>query</cmisra:collectionType>
</collection>
I have tried to change directly the template cmis.get.atomsvc.ftl, but it seems that all the changes that I done are not considered and it seems that the template are not read. Trying to change a section in this FTL template, I don't see any change in the generated HTML…. !?!??!?!?07-21-2011 08:26 AM
How can I change this settings for CMIS hostname?I don't know, I'm waiting for suggestions :?
Or how can I change the FTL template of CMIS?Solved: all the WebScripts defined under the classpath org.alfresco must be overrided in the extension root… I knew how but I had forgotten :lol:
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.