chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Streit <mcs...@gmail.com>
Subject Re: Problems obtaining version ids
Date Fri, 15 Sep 2017 20:21:14 GMT
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 <fmui@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
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message