<?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 Adding aspect to existing document in the repository in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/adding-aspect-to-existing-document-in-the-repository/m-p/65832#M22247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="" data-fulltext="" data-placeholder="Traduction" dir="ltr" style="text-align: left; height: 360px;"&gt;&lt;SPAN lang="en"&gt;Hi ! Nobody has a JavaScript to add or remove an aspect (appl: inlineeditable&lt;/SPAN&gt;&lt;SPAN lang="en"&gt; &lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;) &lt;BR /&gt;to do&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;cuments that are already imported into the repository.&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;I am very annoyed, I should have included this aspect in the rule before import. &lt;BR /&gt;Can you help me p&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;lease&lt;/SPAN&gt;&lt;SPAN lang="en"&gt;?&lt;BR /&gt;Thanks &lt;BR /&gt;Léon TSATY&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Mar 2019 09:46:14 GMT</pubDate>
    <dc:creator>ltsaty</dc:creator>
    <dc:date>2019-03-29T09:46:14Z</dc:date>
    <item>
      <title>Adding aspect to existing document in the repository</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adding-aspect-to-existing-document-in-the-repository/m-p/65832#M22247</link>
      <description>Hi ! Nobody has a JavaScript to add or remove an aspect (appl: inlineeditable ) to documents that are already imported into the repository.I am very annoyed, I should have included this aspect in the rule before import. Can you help me please?Thanks Léon TSATY</description>
      <pubDate>Fri, 29 Mar 2019 09:46:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adding-aspect-to-existing-document-in-the-repository/m-p/65832#M22247</guid>
      <dc:creator>ltsaty</dc:creator>
      <dc:date>2019-03-29T09:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding aspect to existing document in the repository</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adding-aspect-to-existing-document-in-the-repository/m-p/65833#M22248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create your own script for that:&lt;/P&gt;&lt;P&gt;1. search for the documents that needs to be updated using "search" root object.&lt;/P&gt;&lt;P&gt;2. Iterate the result script nodes and add your aspect with required properties using "node.addAspect(...)"&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;create a rule that applies to your specific type, apply the rule on the root folder then add a script for adding aspect using "document.addAspect(..)"&lt;/P&gt;&lt;P&gt;Look in &lt;A href="http://docs.alfresco.com/6.0/references/API-JS-rootscoped.html" rel="nofollow noopener noreferrer"&gt;documentation &lt;/A&gt;on help regarding JS root objects and useful methods.&lt;/P&gt;&lt;P&gt;The &lt;A href="https://github.com/share-extras/js-console" rel="nofollow noopener noreferrer"&gt;javascirpt console&lt;/A&gt; would be a helpful in writing the scipt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2019 09:51:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adding-aspect-to-existing-document-in-the-repository/m-p/65833#M22248</guid>
      <dc:creator>abbask01</dc:creator>
      <dc:date>2019-03-29T09:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Adding aspect to existing document in the repository</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adding-aspect-to-existing-document-in-the-repository/m-p/65834#M22249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: rgba(0, 0, 0, 0.87); font-family: 'Roboto',arial,sans-serif; font-size: 18px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre-wrap; word-spacing: 0px;"&gt;Hello&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: rgba(0, 0, 0, 0.87); font-family: 'Roboto',arial,sans-serif; font-size: 18px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre-wrap; word-spacing: 0px;"&gt;I can not create my own script because I do not know the javascript development language&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: rgba(0, 0, 0, 0.87); font-family: 'Roboto',arial,sans-serif; font-size: 18px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre-wrap; word-spacing: 0px;"&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: rgba(0, 0, 0, 0.87); font-family: 'Roboto',arial,sans-serif; font-size: 24px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre-wrap; word-spacing: 0px;"&gt;I am a beginner on alfresco. So creating scripts is too sophisticated for me&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: rgba(0, 0, 0, 0.87); font-family: 'Roboto',arial,sans-serif; font-size: 18px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre-wrap; word-spacing: 0px;"&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: rgba(0, 0, 0, 0.87); font-family: 'Roboto',arial,sans-serif; font-size: 24px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre-wrap; word-spacing: 0px;"&gt;Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Mar 2019 10:46:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adding-aspect-to-existing-document-in-the-repository/m-p/65834#M22249</guid>
      <dc:creator>ltsaty</dc:creator>
      <dc:date>2019-03-29T10:46:09Z</dc:date>
    </item>
  </channel>
</rss>

