Friday, September 28, 2007

Fun blog post about software estimation

The posting is by the Steve McConnell himself and you can read it here.

If you don't know Steve McConnell I'll strongly suggest that you pick up a copy of his book Code Complete, Second Edition.

Thursday, September 20, 2007

New unit tests listeners

If you create a new unit test listener, you have to add a new element to the SysTestListeners enum to be able to select it from the parameters form.

Please note two facts about this enum element:
  1. The name must be the same as the listener class.
  2. The enum value must be the next consecutive number.

If this is not fullfilled, the framework fails to match the enum with the listener class.

Thursday, September 13, 2007

Rename Primary Key and AIF

Please observe that there is a problem with AIF endpoint contraints (Table AifEndpointConstraint) if you decide to change the primary key for an entity set up here.

The relation between this table and CustTable, VendTable and InventLocation is not modelled in the AOT, so the Rename Primary Key doesn't know that records in this table should be modifed and you will endup not having the Id's updated in this table.

Monday, September 10, 2007

Thursday, September 6, 2007

Debug the HTML from your web applications

Microsoft has a toolbar you can install with your Internet Explorer, that allows you to debug the HMTML generated from your web application.

This is just some of the feautures in the toolbar:

  • Explore and modify the document object model (DOM) of a Web page.
  • Locate and select specific elements on a Web page through a variety of techniques.
  • Selectively disable Internet Explorer settings.
  • View HTML object class names, ID's, and details such as link paths, tab index values, and access keys.
  • Outline tables, table cells, images, or selected tags.
  • Validate HTML, CSS, WAI, and RSS web feed links.
  • Display image dimensions, file sizes, path information, and alternate (ALT) text.
  • Immediately resize the browser window to a new resolution.
  • Selectively clear the browser cache and saved cookies. Choose from all objects or those associated with a given domain.
  • Display a fully featured design ruler to help accurately align and measure objects on your pages.
  • Find the style rules used to set specific style values on an element.
  • View the formatted and syntax colored source of HTML and CSS.

Download it here.

Monday, September 3, 2007

For the schizophrenic

I was asked today how you start AX 4.0 as another user than the user logged into Windows.

As old users of AX 1.0 – 3.0 we are used to just enter another account at the login prompt. But with the integrated login in 4.0 you are not even asked.

Well, the solution lies not in AX but in the operating system. Simply right click the shortcut you start AX with and select “Run as…” and enter the credentials of the user account you want to login with.
From Properties / Advanced you setup the credentials to use in the future when starting AX from the shortcut.