Hi,
i am trying to add a ReferenceGroup control on a form. For any other control type this works easily with the following code:
FormStringControl strCtrl;
strCtrl = element.design().addControl(FormControlType::String, 'tmp');
strCtrl.extendedDataType(extendedTypeNum(CustAccount));
If i try this for a ReferenceGroup control, the control is added (right click -> personalize does show it, although it doesn't appear on the form), but the form is empty
FormReferenceGroupControl ctrl;
ctrl = element.design().addControl(FormControlType::ReferenceGroup, 'tmp');
ctrl.extendedDataType(extendedTypeNum(SalesTaker));
Adding the ReferenceGroup manually on the form with the EDT set to SalesTaker works fine, so i guess im missing something?
*This post is locked for comments