D365FFO – AX – Runbase – Allow multiple selection in a Lookup dialogue field

Reference article : https://vermaax.wordpress.com/2014/07/30/multi-value-select-for-lookup-in-dynamics-ax-2009/

DialogField dlgField = dialog.addField(…);
FormStringControl fsc = dlgField.control();
fsc.replaceOnLookup(false);

Let’s assume we have lookup for a control

If you put ReplaceOnLookup property to Yes (default), the control will not let you select more than one value.

Normal Lookup 2009

If you put ReplaceOnLookup property to No (default), the control will let you select more than one value.

Multi-value select

Leave a Reply

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

WordPress.com Logo

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

Facebook photo

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

Connecting to %s