Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

Turn off regular expressions in TextBuffer

When you work with objects of the TextBuffer class they use regular expressions internally when applying operations on the text. So this example probably wouldn't perform as you'd expect, since "<" is a control character used by the regular expression

Import data from InfoPath forms to AX 4.0

Here is a very high-level description on how you can import data from an InfoPath form to AX 4.0: Create the AX web service you want to use (e.g. to create a sales order) Create a new InfoPath form Define the web service as data source in InfoPath and

AX 4.0 Enterprise Portal and WSS 3.0 - Themes

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. To customize the EP style sheet to match the WSS theme you
Posted by Palle Agermark | 1 Comments
Filed under:

Access SharePoint Document Library through UNC Path

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. So here is the link: http://blogs.msdn.com/solutions/archive/2006/07/19/671873.aspx This posting is provided

Deploying AX with other directory servers than Active Directory

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. This will allow you
Posted by Palle Agermark | 1 Comments
Filed under:

SysImport without confirmation dialog

If you run a something like the following, you'll be met with a confirmation dialog for existing elements. private void importAOT(str fileName) { SysImportElements sysImport = new SysImportElements(); sysImport.newFile(fileName); sysImport.parmImportAot(true);

Create file directory on the AOS fileserver from code

WinAPIServer does not have createDirectory method, so best option is to use ClrInterop. static void createFileDirectory(Args _args) { FilePath path; new InterOpPermission(InteropKind::ClrInterop).assert(); System.IO.Directory::CreateDirectory(path); CodeAccessPermission::revertAssert();

Remove HTML tags from a string

Just stumbled on this little, but usefull, method. Web::stripHTML(...) removes HTML tags from a string and returns the actual text of the HTML string. The HTML must be fairly simple though. This posting is provided "AS IS" with no warranties, and confers

How to disable a configuration key from X++

Please be aware that by running this code, you'll loose data in any table associated with the configuration key. ConfigurationKeySet configurationKeySet = new ConfigurationKeySet(); ; configurationKeySet.loadSystemSetup(); configurationKeySet.enabled(configurationKeyNum(MyConfigKey));

What is MST?

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.

Use regular expressions in the Find dialog

The cross reference in AX is to me a very important tool to stay on top of things. I use it for research trying figure out how things are connected and I use it when I refactor code to see if I need to change any surrounding code. In our development environment

Create a project from items checked out with the version control

I regularly install a new build of AX, so I have to export and import the stuff I'm working on. I have written the following job to help me create a Private Project of whatever is checked out. static void SysCreatePendingObjectsProject(Args _args) { Dialog

One piece of code to update a field in multiple tables

I got inspired by Max Belugins blog post about " Abstract Macros " and I got to think about how I would have solved one of the tasks he once set out to solve with this concept. Basically Max wanted to update a field, of same type, in several tables without

Missing datatype in the Fincancial Dimension Wizard

The Fincancial Dimensions Wizard is really helpfull if you need to add new dimensions to the system. It has come to my attention though that it skips an extended datatype which also should be updated. The datatype is DimensionExtCodeId and it is important
Posted by Palle Agermark | 2 Comments
Filed under: ,

Dynamics AX 4.0 SP1 Localized is available

You can now download the localized version of 4.0 SP1. It supports the following 32 countries/regions: Austria, Australia, Belgium, Brazil, Canada, China, Czech Republic, Denmark, Estonia, Finland, France, Germany, Hungary, Iceland, India, Italy, Ireland,
Posted by Palle Agermark | (Comments Off)
Filed under:
More Posts Next page »
 
Page view tracker