<?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>roberth さんのアクティビティ</title><link>https://www.aras.com/community/members/roberth</link><description>roberth さんの最近のアクティビティ</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>Aras.OAuth.Model error when trying to connect using IOM.dll in a .Net Core app</title><link>https://www.aras.com/community/f/development/36026/aras-oauth-model-error-when-trying-to-connect-using-iom-dll-in-a-net-core-app</link><pubDate>Thu, 08 Oct 2020 21:17:37 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:cc633415-0fa8-409e-8383-4153ebab400f</guid><dc:creator>roberth</dc:creator><description>&lt;p&gt;I&amp;#39;m trying to integrate the IOM.dll into a .net core application and I get the error below.&lt;/p&gt;
&lt;p&gt;&amp;quot;Could not load file or assembly &amp;#39;Aras.OAuth.Model, Version=12.0.0.21092, Culture=neutral, PublicKeyToken=524d880b05474146&amp;#39;. The system cannot find the file specified.&amp;quot;&lt;/p&gt;
&lt;p&gt;I have the following code with the variable values changed:&lt;/p&gt;
&lt;div&gt;&lt;code&gt;string serverUrl = &amp;quot;&amp;quot;&amp;gt;server/.../InnovatorServer.aspx&amp;quot;;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;string&amp;nbsp;&lt;/span&gt;database = &amp;quot;DataBaseName&amp;quot;;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;string&amp;nbsp;&lt;/span&gt;userName = &amp;quot;user&amp;quot;;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;span&gt;string&amp;nbsp;&lt;/span&gt;password = &amp;quot;userPassword&amp;quot;;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;code&gt;HttpServerConnection connection = IomFactory.CreateHttpServerConnection(&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&amp;nbsp; &amp;nbsp; serverUrl,&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&amp;nbsp; &amp;nbsp; database,&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&amp;nbsp; &amp;nbsp; userName,&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&amp;nbsp; &amp;nbsp; password);&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;Item loginResult = connection.Login(); &lt;strong&gt;//Get Error Here&lt;/strong&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;code&gt;Innovator inn = IomFactory.CreateInnovator(connection);&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&lt;/code&gt;&lt;/div&gt;
&lt;p&gt;I have added the IOM.dll,&amp;nbsp;Aras.Net.dll, and&amp;nbsp;Aras.Diagnostics.dll as refrences from the Aris installation folder, and added a using Aras.IOM.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Can you Remove xClass relationship with onChange field event?</title><link>https://www.aras.com/community/f/development/35691/can-you-remove-xclass-relationship-with-onchange-field-event</link><pubDate>Fri, 19 Jun 2020 17:24:06 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:9b2cd4a6-4323-4cc3-963d-06c4bd1ad17b</guid><dc:creator>roberth</dc:creator><description>&lt;p&gt;I&amp;#39;m trying to clear out the xClass relationship when the class of a part is changed.&amp;nbsp; The code I have below is ran on the filed event of the drop down onChange, however it doesn&amp;#39;t remove the xClass relationship.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;var rootItem = document.thisItem;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;rootItem.fetchRelationships(&amp;quot;Part_xClass&amp;quot;);&lt;/code&gt;&lt;br /&gt;&lt;code&gt;var xClassRelationship = rootItem.getRelationships(&amp;quot;Part_xClass&amp;quot;);&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;if(xClassRelationship.getItemCount() &amp;gt; 0){&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&amp;nbsp; &amp;nbsp; var current = xClassRelationship.GetItemByIndex(0);&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&amp;nbsp; &amp;nbsp; rootItem.removeRelationship(current);&lt;/code&gt;&lt;br /&gt;&lt;code&gt;}&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;return rootItem;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&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>Fri, 19 Jun 2020 01:43:56 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:d2d754c9-ce62-403f-aaf7-31df43fc57f0</guid><dc:creator /><description>Ask a question in a forum.</description></item></channel></rss>