<?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/"><channel><title>NiNi さんの グループ アクティビティ</title><link>https://www.aras.com/community/members/nikidd</link><description>NiNi さんの グループ ユーザーの最近のアクティビティ</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>Error when SQL is specified in &amp;quot;where&amp;quot; attribute in AML</title><link>https://www.aras.com/community/f/development/6266/error-when-sql-is-specified-in-where-attribute-in-aml</link><pubDate>Fri, 30 Aug 2019 17:25:41 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:609f9103-b72e-4e58-a5ce-2b32799a42dc</guid><dc:creator>NiNi</dc:creator><description>&lt;p&gt;Hi Team,&lt;/p&gt;
&lt;p&gt;There is AML that seems to have never been an error before, but somehow it becomes an error.&lt;br /&gt;* Aras version is 11.0SP15.&lt;/p&gt;
&lt;p&gt;For example, I remember that SQL could be written in the where attribute like the following AML and IOM code.&lt;br /&gt;At the very least, I was able to execute AML / IOM code written in this way in my previous development (V11.0SP8 environment).&lt;br /&gt;&lt;span style="color:#000080;"&gt;===&amp;lt;AML&amp;gt;========================================&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000080;"&gt;&amp;lt;Item type=&amp;#39;CAD Structure&amp;#39; action=&amp;#39;get&amp;#39; where=&amp;quot;innovator.[CAD_Structure].source_id in (select id from innovator.[CAD] where name = &amp;#39;TestName&amp;#39;)&amp;quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000080;"&gt;&amp;lt;/Item&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000080;"&gt;================================================&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000080;"&gt;===&amp;lt;IOM code&amp;gt;=====================================&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000080;"&gt;Item applyItm = inn.newItem(&amp;quot;CAD Structure&amp;quot;, &amp;quot;get&amp;quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000080;"&gt;applyItm.setAttribute(&amp;quot;where&amp;quot;, &amp;quot;[CAD_Structure].source_id in (select id from innovator.[CAD] where name = &amp;#39;TestName&amp;#39;)&amp;quot;);&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000080;"&gt;Item resultItm = applyItm.apply();&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000080;"&gt;================================================&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;However, when I run this on my current development project, I get the following error:&lt;br /&gt;##############################################################&lt;br /&gt; &lt;span&gt;&amp;lt;SOAP-ENV:Envelope xmlns:SOAP-ENV=&amp;#39;&lt;a href="http://schemas.xmlsoap.org/soap/envelope/&amp;#39;&amp;gt;"&gt;schemas.xmlsoap.org/.../&amp;#39;&amp;gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&lt;span&gt;&amp;lt;SOAP-ENV:Body&amp;gt;&lt;/span&gt;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span&gt;&amp;lt;SOAP-ENV:Fault xmlns:af=&amp;#39;&lt;a href="http://www.aras.com/InnovatorFault&amp;#39;&amp;gt;"&gt;www.aras.com/InnovatorFault&amp;#39;&amp;gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span&gt;&amp;lt;faultcode&amp;gt;&lt;/span&gt;SOAP-ENV:Server.ItemAnalysisException&lt;span&gt;&amp;lt;/faultcode&amp;gt;&lt;/span&gt;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span&gt;&amp;lt;faultstring&amp;gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;![CDATA[Item Analysis Error. Some Items have incorrect attribute/property values syntax. See details for more information.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt; Details:&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt; Incorrect value: &amp;quot;where=&amp;quot;innovator.[CAD_Structure].source_id in (select id from innovator.[CAD] where name = &amp;#39;TestName&amp;#39;)&amp;quot;&amp;quot;. Incorrect value explanation: &amp;quot;select&amp;quot; is forbidden in where attribute.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt; Incorrect value: &amp;quot;where=&amp;quot;innovator.[CAD_Structure].source_id in (select id from innovator.[CAD] where name = &amp;#39;TestName&amp;#39;)&amp;quot;&amp;quot;. Incorrect value explanation: Item hasn&amp;#39;t property referred to column with name &amp;quot;name&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt; ]]&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;lt;/faultstring&amp;gt;&lt;/span&gt;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span&gt;&amp;lt;detail&amp;gt;&lt;/span&gt;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span&gt;&amp;lt;af:legacy_detail&amp;gt;&lt;/span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;![CDATA[Item Analysis Error. Some Items have incorrect attribute/property values syntax. See details for more information.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt; Details:&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt; Incorrect value: &amp;quot;where=&amp;quot;innovator.[CAD_Structure].source_id in (select id from innovator.[CAD] where name = &amp;#39;TestName&amp;#39;)&amp;quot;&amp;quot;. Incorrect value explanation: &amp;quot;select&amp;quot; is forbidden in where attribute.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt; Incorrect value: &amp;quot;where=&amp;quot;innovator.[CAD_Structure].source_id in (select id from innovator.[CAD] where name = &amp;#39;TestName&amp;#39;)&amp;quot;&amp;quot;. Incorrect value explanation: Item hasn&amp;#39;t property referred to column with name &amp;quot;name&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt; ]]&amp;gt;&lt;/span&gt;&lt;span&gt;&amp;lt;/af:legacy_detail&amp;gt;&lt;/span&gt;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span&gt;&amp;lt;af:exception message=&amp;#39;Item Analysis Error. Some Items have incorrect attribute/property values syntax. See details for more information.&amp;amp;#xD;&amp;amp;#xA;Details:&amp;amp;#xD;&amp;amp;#xA;Incorrect value: &amp;quot;where=&amp;quot;innovator.[CAD_Structure].source_id in (select id from innovator.[CAD] where name = &amp;amp;apos;TestName&amp;amp;apos;)&amp;quot;&amp;quot;. Incorrect value explanation: &amp;quot;select&amp;quot; is forbidden in where attribute.&amp;amp;#xD;&amp;amp;#xA;Incorrect value: &amp;quot;where=&amp;quot;innovator.[CAD_Structure].source_id in (select id from innovator.[CAD] where name = &amp;amp;apos;TestName&amp;amp;apos;)&amp;quot;&amp;quot;. Incorrect value explanation: Item hasn&amp;amp;apos;t property referred to column with name &amp;quot;name&amp;quot;&amp;amp;#xD;&amp;amp;#xA;&amp;#39; type=&amp;#39;Aras.Server.Core.ItemAnalysisException&amp;#39; /&amp;gt;&lt;/span&gt;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span&gt;&amp;lt;/detail&amp;gt;&lt;/span&gt;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span&gt;&amp;lt;/SOAP-ENV:Fault&amp;gt;&lt;/span&gt;&lt;br /&gt; &amp;nbsp;&amp;nbsp;&lt;span&gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&lt;/span&gt;&lt;br /&gt; &lt;span&gt;&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;##############################################################&lt;/p&gt;
&lt;p&gt;I get an error message saying that &amp;quot;select&amp;quot; is forbidden in where attribute.&lt;br /&gt;I&amp;#39;ve seen errors like this for the first time.&lt;/p&gt;
&lt;p&gt;What should I do?&lt;br /&gt;Is there something wrong with the syntax ? Is the Aras environment bad ? Has Aras AML / IOM rules changed ?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>How to check from_state, to_state in onBeforePromote/onAfterPromote event method</title><link>https://www.aras.com/community/f/development/6228/how-to-check-from_state-to_state-in-onbeforepromote-onafterpromote-event-method</link><pubDate>Tue, 20 Aug 2019 15:35:49 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:e643c578-c8a6-454f-b549-d1eece1fda39</guid><dc:creator>NiNi</dc:creator><description>&lt;p&gt;Hi Team,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I know that I can check from_state &amp;amp; to_state in &amp;#39;Pre Method&amp;#39; &amp;amp; &amp;#39;Post Method&amp;#39; event of Life Cycle Transition by check context item.&lt;/p&gt;
&lt;p&gt;Is it possible to check from_state / to_state even in onBeforePromote / onAfterPromote event method ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>How to define message(e.g. error message)</title><link>https://www.aras.com/community/f/development/6190/how-to-define-message-e-g-error-message</link><pubDate>Tue, 30 Jul 2019 06:29:22 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:ca4f3d0b-5d8d-40fc-a3c0-0707bec4dd5d</guid><dc:creator>NiNi</dc:creator><description>&lt;p&gt;Hi Team,&lt;/p&gt;
&lt;p&gt;In Aras Method, when displaying error/information/ confirmation message etc. in the message box to the user, &lt;br /&gt;the following is considered as the definition place of the message:&lt;br /&gt; 1) UserMessage Item&lt;br /&gt;&amp;nbsp; &amp;nbsp; ... UserMessage ItemType exists.&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Not shown in TOC after Aras installation.&lt;br /&gt; 2) ui_resources.xml&lt;br /&gt;&amp;nbsp; &amp;nbsp; ... For example, it exists in &amp;quot;{Aras Installed Dir}\Innovator\Client\Solutions\PLM\xml\&amp;quot;.&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Of course, when customizing by myself, I prepare ui_resources.xml in another folder.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have used both before.&lt;br /&gt;But, I want to know the merits and demerits of each.&lt;br /&gt;Should I separate those depending on situation ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Purpose of external_~ properties of CAD Document Item</title><link>https://www.aras.com/community/f/development/6127/purpose-of-external_-properties-of-cad-document-item</link><pubDate>Wed, 03 Jul 2019 10:49:55 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:16f48bf1-285f-4e20-ac78-a4f40c38848e</guid><dc:creator>NiNi</dc:creator><description>&lt;p&gt;Hi Team,&lt;/p&gt;
&lt;p&gt;I am interested in developing a CAD Connector for a certain CAD.&lt;/p&gt;
&lt;p&gt;I found that there are &amp;quot;external_owner&amp;quot; and &amp;quot;external_type&amp;quot; properties in CAD Document Item type.&lt;br /&gt;What is the purpose of these properties ?&amp;nbsp;How should we use these properties ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Ask A Question I</title><link>https://www.aras.com/community/achievements/460ac7df-7ccc-4c42-a204-9e05eef3be09</link><pubDate>Wed, 03 Jul 2019 10:49:55 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:ea4d6d90-3b6a-46b3-9dd9-bd89ef5f69cc</guid><dc:creator /><description>Ask a question in a forum.</description></item></channel></rss>