<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Palle Agermark's WebLog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/palle_agermark/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/palle_agermark/feed.xml</link>
    <description>About Dynamics AX development</description>
    <lastBuildDate>Wed, 17 Apr 2019 04:01:03 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Turn off regular expressions in TextBuffer</title>
      <link>https://docs.microsoft.com/archive/blogs/palle_agermark/turn-off-regular-expressions-in-textbuffer</link>
      <pubDate>Tue, 26 Jun 2007 05:22:27 GMT</pubDate>
      <dc:creator><![CDATA[Palle Agermark]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/palle_agermark/2007/06/26/turn-off-regular-expressions-in-textbuffer/</guid>
      <description><![CDATA[When you work with objects of the TextBuffer class they use regular expressions internally when...]]></description>
      <content:encoded><![CDATA[<p>When you work with objects of the TextBuffer class they use regular expressions internally when applying operations on the text.
</p><p>So this example probably wouldn't perform as you'd expect, since "&lt;" is a control character used by the regular expression engine:
</p><p>textBuffer.replace("&lt;Apples&gt;", "&lt;Cake");
</p><p>To mitigate this, you can turn off the regular expression engine:
</p><p>textBuffer.regularExpressions(false);
</p><p>Mmmmm, cake….
</p><p>This posting is provided "AS IS" with no warranties, and confers no rights. </p>]]></content:encoded>
    </item>
    <item>
      <title>Import data from InfoPath forms to AX 4.0</title>
      <link>https://docs.microsoft.com/archive/blogs/palle_agermark/import-data-from-infopath-forms-to-ax-4-0</link>
      <pubDate>Mon, 25 Jun 2007 03:51:22 GMT</pubDate>
      <dc:creator><![CDATA[Palle Agermark]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/palle_agermark/2007/06/25/import-data-from-infopath-forms-to-ax-4-0/</guid>
      <description><![CDATA[Here is a very high-level description on how you can import data from an InfoPath form to AX...]]></description>
      <content:encoded><![CDATA[<p>Here is a very high-level description on how you can import data from an InfoPath form to AX 4.0:
</p><ol><li>Create the AX web service you want to use (e.g. to create a sales order)
</li><li>Create a new InfoPath form
</li><li>Define the web service as data source in InfoPath and point InfoPath to the web service's WSDL (URL)
</li><li>Drag and drop the required fields (e.g. the entire DocumentContext and a subset of fields on SalesOrder) onto the InfoPath form
</li><li>Save &amp; publish
</li><li>Now, you can use the InfoPath form to fill in customer data and submit requests into AX
</li></ol><p>This posting is provided "AS IS" with no warranties, and confers no rights.</p>]]></content:encoded>
    </item>
    <item>
      <title>AX 4.0 Enterprise Portal and WSS 3.0 - Themes</title>
      <link>https://docs.microsoft.com/archive/blogs/palle_agermark/ax-4-0-enterprise-portal-and-wss-3-0-themes</link>
      <pubDate>Mon, 25 Jun 2007 03:43:00 GMT</pubDate>
      <dc:creator><![CDATA[Palle Agermark]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/palle_agermark/2007/06/25/ax-4-0-enterprise-portal-and-wss-3-0-themes/</guid>
      <description><![CDATA[When you apply other themes from WSS, like Reflector or Plastic, Enterprise Portal (EP) retains the...]]></description>
      <content:encoded><![CDATA[<P>When you apply other themes from WSS, like Reflector or Plastic, Enterprise Portal (EP) retains the default theme. This is because EP doesn't ship with style sheets for all the themes of WSS. </P>
<P>To customize the EP style sheet to match the WSS theme you can create a new style sheet file for EP. </P>
<P>Take a copy of AXEP.css and customize it to match the theme (the comments in the css file points to the equivalent SharePoint style elements) and name the new file as </P>
<P>AXEP&lt;themename&gt;.css. </P>
<P>This file is in AOT under Web-&gt;Web Files-&gt;Static Files-&gt;AxEPv3 and on the web server it gets deployed to </P>
<P>&lt;drive:&gt;\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\ep\stylesheets </P>
<P>This posting is provided "AS IS" with no warranties, and confers no rights.</P>]]></content:encoded>
    </item>
    <item>
      <title>Access SharePoint Document Library through UNC Path</title>
      <link>https://docs.microsoft.com/archive/blogs/palle_agermark/access-sharepoint-document-library-through-unc-path</link>
      <pubDate>Mon, 25 Jun 2007 03:32:00 GMT</pubDate>
      <dc:creator><![CDATA[Palle Agermark]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/palle_agermark/2007/06/25/access-sharepoint-document-library-through-unc-path/</guid>
      <description><![CDATA[I usually don't just link to other blogs from this blog, but this tip is very helpful and I seem to...]]></description>
      <content:encoded><![CDATA[<P>I usually don't just link to other blogs from this blog, but this tip is very helpful and I seem to return to it again and again for reference. </P>
<P>So here is the link: <A href="https://blogs.msdn.com/solutions/archive/2006/07/19/671873.aspx" mce_href="https://blogs.msdn.com/solutions/archive/2006/07/19/671873.aspx">https://blogs.msdn.com/solutions/archive/2006/07/19/671873.aspx</A> </P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><SPAN style="COLOR: black">This posting is provided "AS IS" with no warranties, and confers no rights. </SPAN></SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>Deploying AX with other directory servers than Active Directory</title>
      <link>https://docs.microsoft.com/archive/blogs/palle_agermark/deploying-ax-with-other-directory-servers-than-active-directory</link>
      <pubDate>Mon, 25 Jun 2007 03:19:00 GMT</pubDate>
      <dc:creator><![CDATA[Palle Agermark]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/palle_agermark/2007/06/25/deploying-ax-with-other-directory-servers-than-active-directory/</guid>
      <description><![CDATA[As you may very well know AX can't be deployed with other directory servers than Active Directory...]]></description>
      <content:encoded><![CDATA[<P>As you may very well know AX can't be deployed with other directory servers than Active Directory (AD). But a product like Microsoft Identity Integration Server (MIIS) allows you to integrate between AD and other directory servers. <SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><SPAN style="COLOR: black">This will allow you to use AD only for AX while continuing to use another directory server for all other purposes. You can find more details about MIIS at <A href="https://www.microsoft.com/technet/miis/default.mspx" mce_href="https://www.microsoft.com/technet/miis/default.mspx"></A></SPAN><A href="https://www.microsoft.com/technet/miis/default.mspx">https://www.microsoft.com/technet/miis/default.mspx</A><SPAN style="COLOR: black">. </SPAN></SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><SPAN style="COLOR: black">This posting is provided "AS IS" with no warranties, and confers no rights. </SPAN></SPAN></P>]]></content:encoded>
    </item>
    <item>
      <title>SysImport without confirmation dialog</title>
      <link>https://docs.microsoft.com/archive/blogs/palle_agermark/sysimport-without-confirmation-dialog</link>
      <pubDate>Thu, 21 Jun 2007 08:04:00 GMT</pubDate>
      <dc:creator><![CDATA[Palle Agermark]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/palle_agermark/2007/06/21/sysimport-without-confirmation-dialog/</guid>
      <description><![CDATA[If you run a something like the following, you'll be met with a confirmation dialog for existing...]]></description>
      <content:encoded><![CDATA[<P>If you run a something like the following, you'll be met with a confirmation dialog for existing elements.</P><PRE><P>private void importAOT(str fileName)<BR>{<BR>&nbsp;&nbsp; SysImportElements sysImport = new SysImportElements();</P>
<P>&nbsp;&nbsp; sysImport.newFile(fileName);<BR>&nbsp;&nbsp; sysImport.parmImportAot(true);<BR>&nbsp;&nbsp; sysImport.import();<BR>}</P></PRE>This is of course not&nbsp;desirable if you are trying to write some kind of automated task. Change the sysImport.import statement to this: <PRE>sysImport.import(#impRemoveExcess | #impIgnoreCheckStatus);</PRE>
<P>The macros are located in AotExport.</P>
<P>This posting is provided "AS IS" with no warranties, and confers no rights. </P>]]></content:encoded>
    </item>
    <item>
      <title>Create file directory on the AOS fileserver from code</title>
      <link>https://docs.microsoft.com/archive/blogs/palle_agermark/create-file-directory-on-the-aos-fileserver-from-code</link>
      <pubDate>Wed, 20 Jun 2007 07:46:00 GMT</pubDate>
      <dc:creator><![CDATA[Palle Agermark]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/palle_agermark/2007/06/20/create-file-directory-on-the-aos-fileserver-from-code/</guid>
      <description><![CDATA[WinAPIServer does not have createDirectory method, so best option is to use ClrInterop.static void...]]></description>
      <content:encoded><![CDATA[<P>WinAPIServer does not have createDirectory method, so best option is to use ClrInterop.</P><PRE><P>static void createFileDirectory(Args _args)<BR>{</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp; FilePath path;<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp; new InterOpPermission(InteropKind::ClrInterop).assert();<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp; System.IO.Directory::CreateDirectory(path);<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp; CodeAccessPermission::revertAssert();<BR>}</P></PRE>This posting is provided "AS IS" with no warranties, and confers no rights. ]]></content:encoded>
    </item>
    <item>
      <title>Remove HTML tags from a string</title>
      <link>https://docs.microsoft.com/archive/blogs/palle_agermark/remove-html-tags-from-a-string</link>
      <pubDate>Tue, 19 Jun 2007 07:11:00 GMT</pubDate>
      <dc:creator><![CDATA[Palle Agermark]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/palle_agermark/2007/06/19/remove-html-tags-from-a-string/</guid>
      <description><![CDATA[Just stumbled on this little, but usefull, method. 
Web::stripHTML(...) removes HTML tags from a...]]></description>
      <content:encoded><![CDATA[<P>Just stumbled on this little, but usefull, method. </P>
<P>Web::stripHTML(...) removes HTML tags from a string and returns the actual text of the HTML string.</P>
<P>The HTML must be fairly simple though.</P>
<P>This posting is provided "AS IS" with no warranties, and confers no rights. </P>]]></content:encoded>
    </item>
    <item>
      <title>How to disable a configuration key from X++</title>
      <link>https://docs.microsoft.com/archive/blogs/palle_agermark/how-to-disable-a-configuration-key-from-x</link>
      <pubDate>Tue, 19 Jun 2007 06:52:00 GMT</pubDate>
      <dc:creator><![CDATA[Palle Agermark]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/palle_agermark/2007/06/19/how-to-disable-a-configuration-key-from-x/</guid>
      <description><![CDATA[Please be aware that by running this code, you'll loose data in any table associated with the...]]></description>
      <content:encoded><![CDATA[<P>Please be aware that by running this code, you'll loose data in any table associated with the configuration key.</P><PRE><P>ConfigurationKeySet configurationKeySet = new ConfigurationKeySet();
</P>
<P>;</P>
<P>configurationKeySet.loadSystemSetup();</P>
<P>configurationKeySet.enabled(configurationKeyNum(MyConfigKey));</P>
<P>SysDictConfigurationKey::save(configurationKeySet.pack());</P>
<P>SysSecurity::reload(true, false);</P></PRE>
<P>This posting is provided "AS IS" with no warranties, and confers no rights. </P>]]></content:encoded>
    </item>
    <item>
      <title>What is MST?</title>
      <link>https://docs.microsoft.com/archive/blogs/palle_agermark/what-is-mst</link>
      <pubDate>Tue, 24 Apr 2007 02:30:54 GMT</pubDate>
      <dc:creator><![CDATA[Palle Agermark]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/palle_agermark/2007/04/24/what-is-mst/</guid>
      <description><![CDATA[I have been with Microsoft for a little more than four years now and twice my team has been involved...]]></description>
      <content:encoded><![CDATA[<p>I have been with Microsoft for a little more than four years now and twice my team has been involved in an investigation to figure out what MST, as in AmountMST, is short for. Now by writing this blog post I hope to save us from a potential third investigation. Actually this time we found the key to the answer in a help text and it will of course be part of future documentation.
</p><p>The abbreviation doesn't seem to any kind industry standard, but MST is short for "Monetary Standard".
</p><p>I have a short explanation of MST if you are not at all familiar about with MST in AX. AmountMST refers to the base currency you keep your records of the system in, i.e. "Company currency".  So for example when recording an invoice you keep the amounts both in your company currency, i.e. MST (for example DKK), and the invoice currency, for example EUR.</p>]]></content:encoded>
    </item>
  </channel>
</rss>