AllowUserSetup property form controls

26 May

Today I recognized the property AllowUserSetup on a Tab control for the first time.

My case was the form WMSShipmentWizard.

But first lets take a closer look on the property itself and its values:
form property user setup

Explaining the values
This means the user cannot add fields to the form over right-click => customize. Also the user cannot resize grid columns and the layout. Strictly, no customizations.

The user can make customizations of controls. They are restricted to the following properties for a control:

Width (useful for grid columns)
With the AllowUserSetup property set to Yes we need to differentiate here between two constellations with the AllowAdd property on form DataSourceField:

AllowAdd = No
The user is allowed to make customizations on the layout only.
Properties can be adjusted like they are needed and controls can be moved to other containers. Also own tabbed pages can be created.
Remark on moving: both containers (origin and target) must have AllowUserSetup set to Yes in order to enable moving controls!

AllowAdd = Yes
Full customization control for the user. With this property the user can mess up the design of the form completely for himself 😉

My case
In my case I wanted to enable the user to resize the grid (\Forms\WMSShipmentWizard\Designs\Design\[Tab:ctrlTab]\[TabPage:Orders]\[Grid:Grid]) in the shipment wizard. The default value of the Tab control here is No so I changed it to Restricted.

Leave a comment

Posted by on May 26, 2015 in AX 2012, X++


Tags: ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

365 by Thijs

Blogging about Microsoft 365, Azure and Automation!


Blog about ax with sample codes, tips and tricks.

GM Dynamics Blogs

Transform IT with Digital Trasformation and Social Innovation

Ms. Dynamic Millennial

Unboxing Microsoft Dynamics 365 for Finance and Operations


Exploring the new vision of the Power platform

Dynamics Vision 365

The FinOps pulse

Breaking Bong

I write when no one is watching


Microsoft Dynamics 365 Business Management Solution Enthusiast

Dynamics 365 Finance

Dynamics 365 Finance & Much More.

Microsoft Dynamics AX


Sumit Potbhare

Dynamics 365 for Commerce

This is your site about D365 (Finance and Supply Chain Management), IoT (Internet of Things) and HoloLens

Omni 365

Dynamics 365 Finance and Operations Blog

DIY D365

Power Platform Done Your Way

%d bloggers like this: