<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="https://www.schweda.net/style_feed.css" ?>
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:atom="http://www.w3.org/2005/Atom"	
	xmlns:dc="http://purl.org/dc/elements/1.1/" > 
<channel>
    <title>schweda.net - Blog</title>
    <link>https://www.schweda.net/</link>
    <description>schweda.net - Blog - Blog-Beitraege</description>
    <language>de-at</language>
    <copyright>Copyright 2006-2026</copyright>
    <generator>schweda.net</generator>
    <managingEditor>heinz.schweda@schweda.net (Heinz Schweda)</managingEditor>
    <webMaster>heinz.schweda@schweda.net (Heinz Schweda)</webMaster>
    <category>Blog</category>
	<atom:link href="https://schweda.net/blog_rss.php?bid=357" rel="self" type="application/rss+xml" />
<item>
<title><![CDATA[startUpCmd=Autorun]]></title>
<description><![CDATA[
<p>M&ouml;chte man in Dynamics AX 2009 beim Start bestimmte Formulare oder Klassen automatisch ausf&uuml;hren, kann man sich des Kommandozeilen-Parameters <strong>Autorun </strong>von Dynamics AX bedienen, dieser erwartet als Parameter eine XML-Datei (im Beispiel startup.xml) in der die zu startenden Objekte eingetragen werden k&ouml;nnen:
</p>


<blockquote>

<p>&quot;C:&#092;Programme&#092;Microsoft Dynamics AX&#092;50&#092;Client&#092;Bin&#092;Ax32.exe&quot;<br />
-startUpCmd=Autorun_startup.xml
</p>

</blockquote>


<p>Die dazugeh&ouml;rige XML-Datei <em>startup.xml </em>sieht wie folgt aus:
</p>


<blockquote>

<p><!--?xml version="1.0" encoding="utf-8" ?--><br />
<br />
<br />
<br />
&nbsp;
</p>

</blockquote>


<p><strong>Update vom 15.06.2011</strong>
</p>


<p>Unter Dynamics AX 4.0 funktioniert dies &uuml;brigens genauso, lediglich die Versionsnummer in der XML-Datei muss entsprechend angepasst werden.
</p>


<p>Au&szlig;erdem kann man in der XML-Datei &uuml;ber das Attribut&nbsp;<em>exitWhenDone </em>angeben, da&szlig; AX nach der Ausf&uuml;hrung der entsprechenden Funktionen wieder beendet werden soll. Weiters kann man bei dem&nbsp;Attribut <em>logFile </em>nat&uuml;rlich auch einen kompletten Pfad angeben.
</p>


<blockquote>

<p><!--?xml version="1.0" encoding="utf-8" ?--><br />
logFile=&quot;c:&#092;temp&#092;AXAutorun.log&quot;&gt;<br />
&nbsp;
</p>

</blockquote>


<p>Mehr Infos dazu h&auml;lt die MSDN bereit: <a href="http://msdn.microsoft.com/en-us/library/aa870082.aspx">http://msdn.microsoft.com/en-us/library/aa870082.aspx</a>
</p>]]></description>
<category>Microsoft Dynamics AX (Axapta)</category>
<pubDate>Sun, 03 Jan 2010 19:17:00 +0100</pubDate>
<link>https://www.schweda.net/blog_ax.php?bid=357</link>
<comments>https://www.schweda.net/blog_ax.php?bid=357</comments>
<guid isPermaLink="true">https://www.schweda.net/blog_ax.php?bid=357</guid>
<author>heinz.schweda@schweda.net (Heinz Schweda)</author>
<wfw:commentRss>https://www.schweda.net/blog_ax.php?bid=357</wfw:commentRss>
</item>
</channel>
</rss>	
