<?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 Add aspect in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/add-aspect/m-p/285458#M238588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is it possible to add aspects to a node with RESTful API?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Dec 2013 09:44:27 GMT</pubDate>
    <dc:creator>pyt</dc:creator>
    <dc:date>2013-12-27T09:44:27Z</dc:date>
    <item>
      <title>Add aspect</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-aspect/m-p/285458#M238588</link>
      <description>Hey, is it possible to add aspects to a node with RESTful API?</description>
      <pubDate>Fri, 27 Dec 2013 09:44:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-aspect/m-p/285458#M238588</guid>
      <dc:creator>pyt</dc:creator>
      <dc:date>2013-12-27T09:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Add aspect</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-aspect/m-p/285459#M238589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sure can, that's how Alfresco share itself does it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you monitor the request sent when you add an aspect, you'll see it uses this webscript:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/s/script/org/alfresco/slingshot/documentlibrary/action/aspects.post" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/s/script/org/alfresco/slingshot/documentlibrary/action/aspects.post&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another nice way to find out is to go to &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/s/index/all" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/s/index/all&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;and then fire a search for you keyword "aspect"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2013 10:29:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-aspect/m-p/285459#M238589</guid>
      <dc:creator>scouil</dc:creator>
      <dc:date>2013-12-27T10:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Add aspect</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-aspect/m-p/285460#M238590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What are the parameters I have to send with my POST request?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you give me an example json string please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I monitor the same webscript as Alfresco, I see that the webscript needs something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;{"added":[],"removed":["abc:doc"]}&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the URL where I send my request:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;localhost:8080/share/proxy/alfresco/slingshot/doclib/action/aspects/node/workspace/SpacesStore/f94028fd-d693-4809-a9c6-091f92639243&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Everytime I send the POST request I receive the error message: 302 Found…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2013 12:37:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-aspect/m-p/285460#M238590</guid>
      <dc:creator>pyt</dc:creator>
      <dc:date>2013-12-27T12:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Add aspect</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/add-aspect/m-p/285461#M238591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've managed to solve my problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The request URL has to look like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;localhost:8080/alfresco/s/slingshot/doclib/action/aspects/node/workspace/SpacesStore/f94028fd-d693-4809-a9c6-091f92639243&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2013 13:03:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/add-aspect/m-p/285461#M238591</guid>
      <dc:creator>pyt</dc:creator>
      <dc:date>2013-12-27T13:03:23Z</dc:date>
    </item>
  </channel>
</rss>

