<?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 Re: Get Node uuid in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/get-node-uuid/m-p/251369#M204499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please tell me the whole procedure like how you did it. ? Please I am a noob just started this .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jul 2017 08:01:56 GMT</pubDate>
    <dc:creator>gmasand09</dc:creator>
    <dc:date>2017-07-11T08:01:56Z</dc:date>
    <item>
      <title>Get Node uuid</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-node-uuid/m-p/251362#M204492</link>
      <description>hi Can anybody tell me is there any web service to get a node uuid from a path.thanks Anshul</description>
      <pubDate>Mon, 24 Jan 2011 05:57:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-node-uuid/m-p/251362#M204492</guid>
      <dc:creator>anshul</dc:creator>
      <dc:date>2011-01-24T05:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get Node uuid</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-node-uuid/m-p/251363#M204493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;String path = getCompanyHome().getPath() + "/cm:" + ISO9075.encode("someName");&lt;BR /&gt;Reference ref = null;&lt;BR /&gt;try {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ref = new Reference(WORKSPACE_STORE, null, path);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Node[] nodeArray = getRepositoryService().get(new Predicate(new Reference[] { ref }, WORKSPACE_STORE, null));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ref = nodeArray[0].getReference();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(ref.getUuid()); // Here you can get UUID&lt;BR /&gt;} catch (Exception e) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println("Ref with path not found.");&lt;BR /&gt;}&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 09:08:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-node-uuid/m-p/251363#M204493</guid>
      <dc:creator>jcustovic</dc:creator>
      <dc:date>2011-01-24T09:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Get Node uuid</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-node-uuid/m-p/251364#M204494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks it worked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Since i am new to alfresco with one week of experience. Can you please explain me what is going on the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anshul&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 09:28:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-node-uuid/m-p/251364#M204494</guid>
      <dc:creator>anshul</dc:creator>
      <dc:date>2011-01-24T09:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Get Node uuid</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-node-uuid/m-p/251365#M204495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Reference is an object which u don't have. So in order to get that object from alfresco u have to actually "get" it. You need to know path or uuid and space. So basically you set the node path in your case and tell web service to get that object for you (if it exists) if it exist it will return that object with all it's properties (including uuid that you need). You can get node by uuid and get it's path. The only line you need to change is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;space = new Reference(WORKSPACE_STORE, "your-uuid", null);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 09:32:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-node-uuid/m-p/251365#M204495</guid>
      <dc:creator>jcustovic</dc:creator>
      <dc:date>2011-01-24T09:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: Get Node uuid</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-node-uuid/m-p/251366#M204496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ThankYou&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 09:44:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-node-uuid/m-p/251366#M204496</guid>
      <dc:creator>anshul</dc:creator>
      <dc:date>2011-01-24T09:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get Node uuid</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-node-uuid/m-p/251367#M204497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can Restful API get node UUID ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 04:07:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-node-uuid/m-p/251367#M204497</guid>
      <dc:creator>kblade</dc:creator>
      <dc:date>2012-06-15T04:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Get Node uuid</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-node-uuid/m-p/251368#M204498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi kblade,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you might check this &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/4.0_JavaScript_API#ScriptNode_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/4.0_JavaScript_API#ScriptNode_API&lt;/A&gt;&lt;SPAN&gt; in order to get some hints about the objects that Alfresco provides you out-of-the-box.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Remember that if some object or property is not directly exposed by the Rhino Javascript Processor, you can always extend the base processor since it's build up on Spring framework.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As well, you can develop a Java-backed webscript in order to perform the operation that you need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrea&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2012 10:42:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-node-uuid/m-p/251368#M204498</guid>
      <dc:creator>abarisone</dc:creator>
      <dc:date>2012-06-23T10:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Get Node uuid</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/get-node-uuid/m-p/251369#M204499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please tell me the whole procedure like how you did it. ? Please I am a noob just started this .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 08:01:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/get-node-uuid/m-p/251369#M204499</guid>
      <dc:creator>gmasand09</dc:creator>
      <dc:date>2017-07-11T08:01:56Z</dc:date>
    </item>
  </channel>
</rss>

