<?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>Marvin さんの グループ アクティビティ</title><link>https://www.aras.com/community/members/marvin</link><description>Marvin さんの グループ ユーザーの最近のアクティビティ</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>How to get previous property value in &amp;quot;OnAfterChange&amp;quot;? / How to pass value from &amp;quot;OnBeforeChange&amp;quot; to &amp;quot;OnAfterChange&amp;quot;?</title><link>https://www.aras.com/community/f/development/36535/how-to-get-previous-property-value-in-onafterchange-how-to-pass-value-from-onbeforechange-to-onafterchange</link><pubDate>Tue, 25 May 2021 14:28:40 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:444eaa23-8885-48a0-b8ed-15fa6588da3a</guid><dc:creator>Marvin</dc:creator><description>&lt;p&gt;I have an item on the server where I can set a property. When the property changes,&amp;nbsp; I want to have some logic (related items to be created).&lt;/p&gt;
&lt;p&gt;I currently have the code for this in the &amp;quot;OnBeforeChange&amp;quot; event method, but this doesn&amp;#39;t work for new items that are being added, probably because the item doesn&amp;#39;t properly exist yet.&lt;br /&gt;I can implement the logic in &amp;quot;OnAfterChange&amp;quot; instead - but there I don&amp;#39;t have information about the previous value, so I don&amp;#39;t know if it has changed.&lt;/p&gt;
&lt;p&gt;I have tried adding a temporary property to the item, but that does not work, apparently the OnAfterChange method gets its own copy of the item.&lt;br /&gt;Is there a better solution to this than adding a new property &amp;quot;previous_value&amp;quot; where I can store the value? Because I don&amp;#39;t really need the value afterwards, it&amp;#39;s just for this logic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>IOM.dll compatible with ASP.NET 5/Core?</title><link>https://www.aras.com/community/f/development/36506/iom-dll-compatible-with-asp-net-5-core</link><pubDate>Mon, 17 May 2021 15:14:34 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:d7ceeb9b-8d52-4d7a-908d-85f6786ab1f8</guid><dc:creator>Marvin</dc:creator><description>&lt;p&gt;I&amp;#39;m trying to access Innovator from an ASP.NET 5/Core project.&lt;/p&gt;
&lt;p&gt;But I receive the following error message:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;System.TypeLoadException: &lt;strong&gt;Could not load type &amp;#39;System.Web.HttpContext&amp;#39; from assembly &amp;#39;System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&amp;#39;&lt;/strong&gt;.&lt;br /&gt; at Aras.Net.ContextBasedCookieContainerProvider..ctor(Uri uri)&lt;br /&gt; at Aras.Net.CookieContainerProviderFactory.GetContextBasedCookieContainerProvider(Uri uri)&lt;br /&gt; at Aras.IOM.HttpServerConnection..ctor(String innovatorServerUrl, IAuthenticator authenticator)&lt;br /&gt; at Aras.IOM.IomFactory.CreateHttpServerConnection(String innovatorServerUrl, String database, String userName, String password)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It seems like that is because System.Web.HttpContext has been removed in newer&amp;nbsp;ASP.NET versions:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://stackoverflow.com/questions/59642906/using-legacy-projects-containing-system-web-httpcontext-in-asp-net-core3-1"&gt;https://stackoverflow.com/questions/59642906/using-legacy-projects-containing-system-web-httpcontext-in-asp-net-core3-1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there a newer IOM version available that would work? The IOM.dll I have here is 11.0.0.6920 - so probably not the latest (we&amp;#39;re running Innovator 11 SP12).&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Best practice for code in Aras Innovator 11 SP12</title><link>https://www.aras.com/community/f/development/4006/best-practice-for-code-in-aras-innovator-11-sp12</link><pubDate>Tue, 30 Oct 2018 10:54:41 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:9f6b8d4c-1c29-4e76-af52-17162a51f7ee</guid><dc:creator>Marvin</dc:creator><description>I have recently joined a team that uses Aras Innovator 11 SP12, so I&amp;#39;m quite new to this.

I see that my predecessors have written some custom C# methods, but I am not happy with the way they are written.
The formatting is not great (indentation etc.), which isn&amp;#39;t surprising, given the code was probably typed right into the Innovator admin interface. A copy of the code exists in our version control system, but this is most likely just a copy and I am not even sure if it reflects the code currently running on the server.

To me this looks like a less than ideal setup, so I am wondering what the recommended practice for custom code is.
Ideally, all custom Innovator code would be in our versioning control system and deployed to the Innovator server from a build server.
But what&amp;#39;s the best way to debug code that is under active development?
I would like to use Visual Studio with Resharper etc. for development, with external logging libraries like Serilog etc. etc.

Or would it make sense to implement a custom webservice that implements the actual logic and only have very short methods in Innovator that interact with the webservice?

How do you guys do this?&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, 12 Dec 2018 22:57:58 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:5d0e52c9-74bc-48db-8e29-96051b0a9058</guid><dc:creator /><description>Ask a question in a forum.</description></item></channel></rss>