<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How can I get only the uuid? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-get-only-the-uuid/m-p/78146#M24478</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, this is my first question and I hope that can be resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Maven proyect using cmis, and i need to get a clean uuid, because i need to put it in a DTO Object&lt;/P&gt;&lt;P&gt;and only I get:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN class="" style="color: #000000; background-color: #ffffff; font-weight: 800; padding-right: 5px;"&gt;&lt;SPAN class="" style="color: #fafafa; font-weight: 100; font-size: 1px;"&gt;"&lt;/SPAN&gt;uuid&lt;SPAN class="" style="color: #fafafa; font-weight: 100; font-size: 1px;"&gt;"&lt;/SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #008800; background-color: #ffffff;" title="&amp;quot;[workspace://SpacesStore/6a8dbd45-26a5-4f66-944f-deb0696cde63;1.0]&amp;quot;"&gt;"[workspace://SpacesStore/6a8dbd45-26a5-4f66-944f-deb0696cde63;1.0]"&lt;/SPAN&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my code to check the uuid is&amp;nbsp;&lt;/P&gt;&lt;P&gt;docFilter.setUuid(newDoc.getProperty(PropertyIds.OBJECT_ID).getValuesAsString());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Mar 2018 16:37:43 GMT</pubDate>
    <dc:creator>hmancilla</dc:creator>
    <dc:date>2018-03-29T16:37:43Z</dc:date>
    <item>
      <title>How can I get only the uuid?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-get-only-the-uuid/m-p/78146#M24478</link>
      <description>Hi everyone, this is my first question and I hope that can be resolved.I have a Maven proyect using cmis, and i need to get a clean uuid, because i need to put it in a DTO Objectand only I get:&amp;nbsp;"uuid":&amp;nbsp;"[workspace://SpacesStore/6a8dbd45-26a5-4f66-944f-deb0696cde63;1.0]",my code to check the uuid is&amp;nbsp;</description>
      <pubDate>Thu, 29 Mar 2018 16:37:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-get-only-the-uuid/m-p/78146#M24478</guid>
      <dc:creator>hmancilla</dc:creator>
      <dc:date>2018-03-29T16:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get only the uuid?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-get-only-the-uuid/m-p/78147#M24479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which CMIS API / version are you using? With CMIS 1.1 Browser binding you should only get the UUID with the version suffix, not the whole NodeRef + version.&lt;/P&gt;&lt;P&gt;Anyway, it should be quite simple to just split the object ID on the client side to only extract the UUID, i.e. take antyhing between last '/' and first ';', between start and first ',' (if no '/' found), or entire object ID (if no '/' and no ';' found, i.e. in CMIS 1.1 object ID for a folder).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2018 10:42:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-get-only-the-uuid/m-p/78147#M24479</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-03-30T10:42:08Z</dc:date>
    </item>
  </channel>
</rss>

