<?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 Content link in Windchill Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Content-link/m-p/1050418#M10909</link>
    <description>&lt;P&gt;Version: Windchill 11.2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use Case: I want to remove the content link association between a WTPart and EPMDocument via API , basically my requirement is to remove all the association of cad for perticular part and break the link not deleted the object in actual but remove it from a perticular part and break the link and till now I've successfully been able to remove owner link but I'm not able to find any related API to remove the content link so if you know anything about it please let me know.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Description: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I want to remove the content link association between a WTPart and EPMDocument via API , basically my requirement is to remove all the association of cad for perticular part and break the link not deleted the object in actual but remove it from a perticular part and break the link and till now I've successfully been able to remove owner link but I'm not able to find any related API to remove the content link so if you know anything about it please let me know.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jan 2026 19:31:23 GMT</pubDate>
    <dc:creator>SS_14439466</dc:creator>
    <dc:date>2026-01-09T19:31:23Z</dc:date>
    <item>
      <title>Content link</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Content-link/m-p/1050418#M10909</link>
      <description>&lt;P&gt;Version: Windchill 11.2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use Case: I want to remove the content link association between a WTPart and EPMDocument via API , basically my requirement is to remove all the association of cad for perticular part and break the link not deleted the object in actual but remove it from a perticular part and break the link and till now I've successfully been able to remove owner link but I'm not able to find any related API to remove the content link so if you know anything about it please let me know.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Description: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I want to remove the content link association between a WTPart and EPMDocument via API , basically my requirement is to remove all the association of cad for perticular part and break the link not deleted the object in actual but remove it from a perticular part and break the link and till now I've successfully been able to remove owner link but I'm not able to find any related API to remove the content link so if you know anything about it please let me know.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2026 19:31:23 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Content-link/m-p/1050418#M10909</guid>
      <dc:creator>SS_14439466</dc:creator>
      <dc:date>2026-01-09T19:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Content link</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Content-link/m-p/1050486#M10910</link>
      <description>&lt;P&gt;Hi guy,&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is no content link object exists in OOTB Windchill 11 installation.&lt;/P&gt;&lt;P&gt;But for content you could use:&lt;/P&gt;&lt;LI-CODE lang="java"&gt; EPMDocument  businessObject =null;
        businessObject = (EPMDocument) wt.content.ContentHelper.service.getContents(businessObject);
        Vector&amp;lt;?&amp;gt; ads = wt.content.ContentHelper.getApplicationData(businessObject);
        wt.content.ApplicationData appData;
        String desc;
        for (int i = 0; i &amp;lt; ads.size(); i++) {
            appData = (wt.content.ApplicationData) ads.elementAt(i);
            desc = appData.getDescription();
            if (FormatHelper.hasContent(desc) &amp;amp;&amp;amp; (desc.indexOf("CONTENT") == 0 || desc.indexOf("IMAGE") == 0)) {
                wt.content.ContentServerHelper.service.deleteContent(businessObject, appData);
            }
        }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2026 06:16:32 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Content-link/m-p/1050486#M10910</guid>
      <dc:creator>fivig_flex</dc:creator>
      <dc:date>2026-01-12T06:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Content link</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Content-link/m-p/1050497#M10912</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/1034539"&gt;@SS_14439466&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use the following API to delete the content link.&lt;/P&gt;&lt;P&gt;PersistenceServerHelper.manager.remove(new WTHashSet(epmDescribeLink));&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2026 08:37:03 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Content-link/m-p/1050497#M10912</guid>
      <dc:creator>TDT</dc:creator>
      <dc:date>2026-01-12T08:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Content link</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Content-link/m-p/1050505#M10914</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Content CAD associations, there is no dedicated API to directly “remove the content link.” In Windchill, these associations are stored as &lt;STRONG&gt;EPMDescribeLink&lt;/STRONG&gt; (passive links), not as &lt;STRONG&gt;EPMBuildRule&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;The recommended approach is to retrieve and delete the link objects themselves. From the &lt;STRONG&gt;WTPart&lt;/STRONG&gt; side, you can obtain the Content associations using:&amp;nbsp;&lt;STRONG&gt;PersistenceHelper.manager.navigate( partWC, EPMDescribeLink.DESCRIBED_BY_ROLE, EPMDescribeLink.class, false )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Note: the &lt;STRONG&gt;false&lt;/STRONG&gt; parameter is required to return the link objects instead of only the associated CAD documents.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can then delete each &lt;STRONG&gt;EPMDescribeLink&lt;/STRONG&gt; using:&amp;nbsp;&lt;STRONG&gt;PersistenceHelper.manager.delete(link)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is typically done on a checked-out working copy of the part, followed by a check-in, as illustrated in the Knowledge Base examples.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can do:&lt;/P&gt;&lt;LI-CODE lang="java"&gt;QueryResult qr = PersistenceHelper.manager.navigate( partWC, EPMDescribeLink.DESCRIBED_BY_ROLE, EPMDescribeLink.class, false);

while (qr.hasMoreElements()) {
PersistenceHelper.manager.delete(qr.nextElement());
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you also need to remove &lt;STRONG&gt;Owner / Image / other active associations&lt;/STRONG&gt;, these are stored as &lt;STRONG&gt;EPMBuildRule&lt;/STRONG&gt; links and can be handled in a similar way using:&amp;nbsp;&lt;STRONG&gt;EPMBuildRule.BUILD_SOURCE_ROLE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more details, please refer to the following PTC&amp;nbsp; articles:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;A class="" href="https://www.ptc.com/en/support/article/cs37434" target="_new" rel="noopener"&gt;https://www.ptc.com/en/support/article/cs37434&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;A class="" href="https://www.ptc.com/en/support/article/cs407867" target="_new" rel="noopener"&gt;https://www.ptc.com/en/support/article/cs407867&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 12 Jan 2026 09:38:00 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Content-link/m-p/1050505#M10914</guid>
      <dc:creator>Imad_A</dc:creator>
      <dc:date>2026-01-12T09:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Content link</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Content-link/m-p/1054544#M11071</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/1034539"&gt;@SS_14439466&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just add a point.&lt;/P&gt;
&lt;P&gt;The EPMBuildRole has a parameter buildType and it is the type link&amp;nbsp;&lt;/P&gt;
&lt;P&gt;there are several int values and each value refers to the the type link&amp;nbsp;&lt;/P&gt;
&lt;P&gt;createLinkType = EPMBuildRule.BUILD_ATTRIBUTES; //Contributing Content Link&lt;/P&gt;
&lt;P&gt;epmBuildRule.getBuildType()&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Detailed explanation&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article/CS125790" target="_blank"&gt;https://www.ptc.com/en/support/article/CS125790&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 12:11:03 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Content-link/m-p/1054544#M11071</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2026-02-11T12:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Content link</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Content-link/m-p/1057830#M11172</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/1034539"&gt;@SS_14439466&lt;/a&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wanted to see if you got the help you needed.&lt;/P&gt;
&lt;P&gt;If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.&lt;BR /&gt;Please note that industry experts also review the replies and may eventually accept one of them as solution on your behalf.&lt;BR /&gt;Of course, if you have more to share on your issue, please pursue the conversation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Anurag&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2026 18:24:41 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Content-link/m-p/1057830#M11172</guid>
      <dc:creator>anursingh</dc:creator>
      <dc:date>2026-03-09T18:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Content link</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Content-link/m-p/1058371#M11186</link>
      <description>&lt;P&gt;removing association will remove the link on the next iteration the link will not be deleted from existing version .&lt;/P&gt;
&lt;P&gt;you have to use unsupported way (SQL )&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2026 15:42:20 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Content-link/m-p/1058371#M11186</guid>
      <dc:creator>Fadel</dc:creator>
      <dc:date>2026-03-12T15:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Content link</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Content-link/m-p/1058928#M11195</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/326172"&gt;@Fadel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or, you can use following methods &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; sure the createEPMBuildRuleAssociationLinks is also not supported but you can use it &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;
&lt;LI-CODE lang="java"&gt;StructureServiceUtility.createEPMBuildRuleAssociationLinks(listToDeleteEPMBuildRule, new Map[0]);
PersistenceServerHelper.manager.remove(new WTHashSet(listToDeleteEPMBuildRule));&lt;/LI-CODE&gt;
&lt;P&gt;PetrH&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 12:52:19 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Content-link/m-p/1058928#M11195</guid>
      <dc:creator>HelesicPetr</dc:creator>
      <dc:date>2026-03-17T12:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Content link</title>
      <link>https://www.ptcusercommunity.com/t5/Windchill-Customization/Content-link/m-p/1058932#M11196</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/241117"&gt;@HelesicPetr&lt;/a&gt;&amp;nbsp; nice to hear from you again.&lt;/P&gt;
&lt;P&gt;I try to avoid sharing unsupported stuff as it may cause data corruption (especially in the new releases 13.1+ ),I have seen some edowns caused by unsupported APIs and later we struggled with providing healing scripts to fix data:-)&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 13:06:45 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Windchill-Customization/Content-link/m-p/1058932#M11196</guid>
      <dc:creator>Fadel</dc:creator>
      <dc:date>2026-03-17T13:06:45Z</dc:date>
    </item>
  </channel>
</rss>

