<?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>ConsoleUpgrade.exe to execute AML in batch mode</title><link>https://www.aras.com/community/f/development/9140/consoleupgrade-exe-to-execute-aml-in-batch-mode</link><description>Hi, 
 I use ConsoleUpgrade.exe to export a package from a DEVELOPMENT aras environment and to import this package in a PRODUCTION aras environment. 
 After the import, I need to execute some specific AML to clean some ItemType or execute some methods</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: ConsoleUpgrade.exe to execute AML in batch mode</title><link>https://www.aras.com/community/thread/5989?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 10:02:09 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:49809f95-4a2f-4730-b3fe-3433806023e1</guid><dc:creator>Ralf Neubersch</dc:creator><description>&lt;p&gt;Hi Miraks,&lt;/p&gt;
&lt;p&gt;are you aware of the &amp;quot;Fixes&amp;quot; folder? You can create a folder named &amp;quot;Fixes&amp;quot; next to the &amp;quot;imports.mf&amp;quot; file and put any AML statements there.&lt;/p&gt;
&lt;p&gt;This is executed after the import by the &amp;quot;Import&amp;quot; tool, I don&amp;#39;t know if &amp;quot;ConsoleUpgrade&amp;quot; respects this as well.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;\Ralf&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ConsoleUpgrade.exe to execute AML in batch mode</title><link>https://www.aras.com/community/thread/4418?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2020 14:16:34 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:2a1d8936-0700-47ad-9fa2-293bdf3b64ef</guid><dc:creator>Christopher Gillis</dc:creator><description>&lt;p&gt;Hi Miraks,&lt;/p&gt;
&lt;p&gt;Aras does provide a Batchloader utility to subscribers that can support batch AML updates of any kind including ones using custom actions like you&amp;#39;re trying to do.&lt;/p&gt;
&lt;p&gt;However, I don&amp;#39;t think this is possible with the standard Import/Export tools. Most if not all of the standard actions are available through these tools however. If you need to do any ItemType cleanup, you can store some&amp;nbsp;&lt;em&gt;delete&lt;/em&gt; statements either in separate files or appended to the AML of one of your other files. Similarly, if you need to update any lists, I&amp;#39;ve been able to run&amp;nbsp;&lt;em&gt;edit&lt;/em&gt; actions inside of import packages before as well.&lt;/p&gt;
&lt;p&gt;As a last alternative, you could write a simple script to send this custom action request to the server via &lt;a href="/b/english/posts/server-side-methods-with-the-aras-restful-api"&gt;the REST API&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Christopher Gillis&lt;/p&gt;
&lt;p&gt;Aras Labs Software Engineer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>