<?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: Delete a link automatically in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/delete-a-link-automatically/m-p/22683#M9887</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have discovered what the problem was.&lt;/P&gt;&lt;P&gt;When we create a link, we have to add to the original document the next Secondary Type:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;P:app:linked: Marker aspect to indicate that the node has been linked.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Dec 2017 11:59:18 GMT</pubDate>
    <dc:creator>antonio_sanchez</dc:creator>
    <dc:date>2017-12-19T11:59:18Z</dc:date>
    <item>
      <title>Delete a link automatically</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/delete-a-link-automatically/m-p/22681#M9885</link>
      <description>In Alfresco, when you delete a document that has associated links, these links are automatically deleted.However, I have created a link to a document using the CMIS (Apache Chemistry PortCMIS client library for .NET) and when I delete de document, these links are NOT deleted.In fact, if I try to del</description>
      <pubDate>Mon, 18 Dec 2017 18:23:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/delete-a-link-automatically/m-p/22681#M9885</guid>
      <dc:creator>antonio_sanchez</dc:creator>
      <dc:date>2017-12-18T18:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Delete a link automatically</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/delete-a-link-automatically/m-p/22682#M9886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you create the link in alfresco basically it creates a child association in alfresco.Suppose if you are creating the link of document which resides in "&lt;A href="http://localhost:8081/share/page/repository" style="color: #000000; font-weight: normal; text-decoration: none; margin: 0px 0px 0px 2px;" rel="nofollow noopener noreferrer"&gt;Repository&lt;/A&gt;&amp;gt;&lt;A href="http://localhost:8081/share/page/folder-details?nodeRef=workspace://SpacesStore/28b43971-6fd3-4101-929d-a3cc51844c31" style="color: #000000; text-decoration: none;" rel="nofollow noopener noreferrer"&gt;User Homes&lt;/A&gt;&amp;gt;Krutik&amp;gt;kjayswal.doc" in this case it will create a document link inside the "&lt;A href="http://localhost:8081/share/page/repository" style="color: #000000; font-weight: normal; text-decoration: none; margin: 0px 0px 0px 2px;" rel="nofollow noopener noreferrer"&gt;Repository&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;A href="http://localhost:8081/share/page/folder-details?nodeRef=workspace://SpacesStore/28b43971-6fd3-4101-929d-a3cc51844c31" style="color: #000000; text-decoration: none;" rel="nofollow noopener noreferrer"&gt;User Homes&lt;/A&gt;&lt;SPAN&gt;&amp;gt;Krutik&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;kjayswal.doc&amp;gt;kjayswal.doc"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There can be two parent in alfresco for single document,but primary parent can only be one.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It seems that below is code which gets executed when you create the link.This may not solve your problem but, will help you to reach out to the cause.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A class="link-titled" href="https://github.com/skomarica/alfresco-share-create-link/blob/master/create-link-repo/src/main/java/com/alfdev/alfresco/repo/web/scripts/doclib/CreateLinkPost.java" title="https://github.com/skomarica/alfresco-share-create-link/blob/master/create-link-repo/src/main/java/com/alfdev/alfresco/repo/web/scripts/doclib/CreateLinkPost.java" rel="nofollow noopener noreferrer"&gt;alfresco-share-create-link/CreateLinkPost.java at master · skomarica/alfresco-share-create-link · GitHub&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 06:12:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/delete-a-link-automatically/m-p/22682#M9886</guid>
      <dc:creator>krutik_jayswal</dc:creator>
      <dc:date>2017-12-19T06:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Delete a link automatically</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/delete-a-link-automatically/m-p/22683#M9887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have discovered what the problem was.&lt;/P&gt;&lt;P&gt;When we create a link, we have to add to the original document the next Secondary Type:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;P:app:linked: Marker aspect to indicate that the node has been linked.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2017 11:59:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/delete-a-link-automatically/m-p/22683#M9887</guid>
      <dc:creator>antonio_sanchez</dc:creator>
      <dc:date>2017-12-19T11:59:18Z</dc:date>
    </item>
  </channel>
</rss>

