Thursday, July 2, 2009
Longer Support Timelines for Key Microsoft Dynamics Service Packs
Troubleshooting missing EP Development Tools
- Read the blog article "EP Visual Studio Add-In" to check if all components are correctly installed.
As you can read in the article you must copy the installed templates from the My Documents folder of the user who installed the EP Developer Tools. The files and locations are listed in the article. - You may need to refresh Visual Studios cache of templates after copying them:Open the Visual Studio command prompt (Start \ Programs \ Microsoft Visual Studio 2008 \ Visual Studio Tools \ Visual Studio 2008 Command Prompt) and type devenv /installvstemplates.
- If you still don't see the template, remember that you need to select C# as your project programming language before it shows up.
If you can see the template but can't connect to the AX AOS from Visual Studio check the following:
- Check that .NET Business Connector has been correctly installed and that the configuration points to the correct AOS instance.
Check that the user you run Visual Studio with, has login and proper development permissions in AX. - Check that the "Dynamics AX Enterprise Portal Tools" Add-in is correctly installed in Visual Studio. Open Visual Studio / Tools / Add-in Manager to verify that Add-in is correctly installed and configured. If you can't see it, you must reinstall the EP Development Tools.
Tuesday, June 30, 2009
Intelligent Data Management Framework For Microsoft Dynamics AX (Pre-Release)
At RTM, this Framework will include “Archive to Offline” Instance Support.
You can download the framework from PartnerSource (requires PartnerSource login)
This is a pre-release non production build.
AX 2009 Hotfix rollup 2 for SP1 is released
The SYP build number of the rollup is 5.0.1500.809
Tuesday, June 16, 2009
Reading PDF's from the PC
I have just read the training material for a couple of the AX certifications. I didn't want to print it, so I tried to read it directly off my laptop, which with Adobe Reader is a completely disaster. It is completely unpredictable when the reader changes pages while scrolling the document and after reading very few pages you just get tired. I moved the material to my Mac which has a good PDF reader.
Today I found this free reader, which allows me to read PDF's proper on the PC:
http://www.docu-track.com/home/prod_user/PDF-XChange_Tools/pdfx_viewer
Wednesday, June 10, 2009
Dialog error when adding batch tasks to a batch job
AX call unpack of the task class, with the contents of the Batch.Parameters field, but since we are creating a new entry to the table this field is empty.
What AX should do, and what RunBase normally does, is then to call initParmDefault of the task class to initalize it with for example a base query.th for example a base query.
Here is the code to insert in \Data Dictionary\Tables\Batch\Methods\showDialog in order to fix this issue.
Replace:
runClass.unpack(this.Parameters)With:
// As RunBase normally would do, we need to
// call initParmDefault here, if there are no
// values to unpack
if (!runClass.unpack(this.Parameters))
{
runClass.initParmDefault();
}
Thursday, May 28, 2009
Product builder performance tip
I recently had the client/server trace on, while opening the production builder configuration form. Boy, I wish I didn't…
Depending on how complex your product model is, this for generates an excessive number of calls between the client and server.
In my case, the largest group of calls was calls made to \Data Dictionary\Tables\PBALanguageTxt\Methods\label.
The method is tied to be executed on the server, with the "server" keyword.
But, the table itself is cached as EntireTable, and this means that the client is likely to holds its own cache of the values and thus there is no need, and in particular, no gain of forcing AX to run the method on the server.
When I remove the "server" keyword from this method, I get rid of the majority of client/server calls while opening and navigating in this form.
There is however still room for improvement, as the form still generates a huge amount of calls.