<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to remove Class Structure: Sub Class</title><link>https://www.aras.com/community/f/getting-started/4012/how-to-remove-class-structure-sub-class</link><description>Created a Class Structure for Documents in ARAS.

Later we determined some SubClasses were not needed and tried to remove them.

Even though there were no documents associated with this property, SubClasses cannot be removed from Class Structure for Document</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to remove Class Structure: Sub Class</title><link>https://www.aras.com/community/thread/2236?ContentTypeID=1</link><pubDate>Fri, 02 Nov 2018 08:24:57 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:ab4562ef-e3ca-4f14-979b-9117ca408784</guid><dc:creator>Christopher Gillis</dc:creator><description>Hello,

There was a typo in the AML I proposed. The generation property should use the condition &lt;strong&gt;ge&lt;/strong&gt; to get all generations greater than or equal to 1 instead of &lt;strong&gt;gt&lt;/strong&gt; which will just get generations greater than one.

Please try the updated AML below.

&lt;pre&gt;&lt;code&gt;&amp;lt;AML&amp;gt;
&amp;lt;Item type=&amp;quot;Document&amp;quot; action=&amp;quot;get&amp;quot;&amp;gt;
&amp;lt;classification&amp;gt;General&amp;lt;/classification&amp;gt;
&amp;lt;generation condition=&amp;quot;ge&amp;quot;&amp;gt;1&amp;lt;/generation&amp;gt;
&amp;lt;/Item&amp;gt;
&amp;lt;/AML&amp;gt;&lt;/code&gt;&lt;/pre&gt;


If there are still no documents returned from this query, could you let us know the error message you&amp;#39;re receiving when trying to delete this classification?

Chris

&lt;hr /&gt;

Christopher Gillis

Aras Labs Software Engineer&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to remove Class Structure: Sub Class</title><link>https://www.aras.com/community/thread/2235?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 11:59:23 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:fd67b255-17d8-49ab-9b74-5700206fc42b</guid><dc:creator>Former Member</dc:creator><description>Tried the AML Search below, returns no results. There doesn&amp;#39;t appear to be anything tied to this subclass.

&amp;lt;classification&amp;gt;&lt;strong&gt;General&lt;/strong&gt;&amp;lt;/classification&amp;gt;
&amp;lt;generation condition=&amp;quot;gt&amp;quot;&amp;gt;1&amp;lt;/generation&amp;gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to remove Class Structure: Sub Class</title><link>https://www.aras.com/community/thread/2234?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 11:47:39 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:85ccf77e-05d3-45f1-80d8-d27e1b0a8b3c</guid><dc:creator>Christopher Gillis</dc:creator><description>Hello,

I wasn&amp;#39;t able to reproduce this issue in an instance of 11.0 SP12 I was using. Could you click the &amp;quot;Show Details&amp;quot; button on the error message you&amp;#39;re getting? That should tell you what item(s) are referencing the subclasses you want to delete.

You may be running into a case where no current Documents reference that subclass, but an older generation of a Document does. You can try running an AML query like below to search on all generations of the Documents in your system for that subclass.

&lt;pre&gt;&lt;code&gt;&amp;lt;AML&amp;gt;
&amp;lt;Item type=&amp;quot;Document&amp;quot; action=&amp;quot;get&amp;quot;&amp;gt;
&amp;lt;classification&amp;gt;YOUR_SUBCLASS&amp;lt;/classification&amp;gt;
&amp;lt;generation condition=&amp;quot;gt&amp;quot;&amp;gt;1&amp;lt;/generation&amp;gt;
&amp;lt;/Item&amp;gt;
&amp;lt;/AML&amp;gt;&lt;/code&gt;&lt;/pre&gt;


Chris

&lt;hr /&gt;

Christopher Gillis

Aras Labs Software Engineer&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>