Monday, March 28, 2011

Dynamics AX 2009 Enterprise Portal Web Controls are stored in USR instead of BUS Layer

Query:
Dynamics AX 2009 Enterprise Portal Web Controls are stored in USR instead of BUS Layer. How to make it stored on any layer other than USR.


Answer:
As Web Controls are created in Visual Studio and stored in the AOT by using the .NET Business Connector, I’ve used the Dynamics AX 2009 Client Configuration Tool to update the Business Connector (non-interactive use only) configuration.



However even with this configuration change the newly created Web Controls were still added to the USR Layer instead of the specified BUS Layer.


The reason for this was that the .NET Business Connector in this scenario in not reading the configuration Business Connector (non-interactive use only) but the Local Client configuration.


By updating the Local Client configuration in Dynamics AX 2009 Client Configuration Tool my newly created objects were successfully stored in the BUS Layer.


Note: Make sure to apply the Development License and Licence codes as appropriate.

1 comment:

  1. thank you for posting this, I kept trying to figure out why after I changed the business connector config, it was still saving to the USR layer, now I have successfully saved my SRS report to the CUS.

    ReplyDelete