Hi Mark I am trying to construct document url so that UI can use it. The url is in the format:
{serverhost:port/regionalContext}/d/d/versionStore/version2Store/{nodeId}/{fileName} nodeId is meant to be one from version store but the below call to all versions doesnt give this back. Instead i get document node id together with version label. This unfortunately doesnt work in version store. Is my assumptions wrong about the format of the URL? Regards Krzysztof On 2017-09-15 21:21, Mark Streit <mcs...@gmail.com> wrote: > Krzysztof and Florian, > > > Just adding as an example...We use Alfresco 5.1 Enterprise and Chemistry as > well (OpenCMIS client API) and when utilizing the Chemistry Workbench to > inspect the Document object properties, we see the following: > > "Alfresco Node Ref","alfcmis:nodeRef","id",["workspace://SpacesStore/ > 4933d708-08d0-4c83-baf7-e9c973e56a9f"] > "Object Id","cmis:objectId","id",["4933d708-08d0-4c83-baf7-e9c973e56a9f;1.0 > "] > "Version series id","cmis:versionSeriesId","id",[" > 4933d708-08d0-4c83-baf7-e9c973e56a9f"] > "Version Label","cmis:versionLabel","string",["1.0"] > > You'll notice the common value generated by Alfresco for the 3 fields > above... the 1.0 in cyan is the VersionLabel property. The Node Ref being > an Alfresco property is marked in an alfcmis namespace. > > Don't know if this helps but thought I'd put it out there. > > Mark > > > On Fri, Sep 15, 2017 at 3:53 PM, Florian Müller <f...@apache.org> wrote: > > > Hi Krzysztof, > > > > "Nodes" are an Alfresco concepts. They don't exit in CMIS. > > But the CMIS Document object should have a property with the Alfresco > > node ID. > > > > What kind of URL you want to construct? > > Maybe this helps you: > > https://chemistry.apache.org/docs/cmis-samples/samples/ > > content/index.html#getting-a-content-url > > > > > > - Florian > > > > > > > > > Hello Everyone > > > > > > Anyone able to obtain previous version node id? as opposed to latest > > version id. > > > > > > opencmis chemistry gives me main document id for every version returned > > by getAllVersions(). > > > > > > So I cant construct resource location urls to obtain document previous > > revisions. > > > > > > I will appreciate any suggestions. > > > > > > Kind Regards > > > Krzysztof > > > > > >