Skip to Content
0
Dec 14, 2022 at 11:56 AM

Adding a Selection List to a Custom Attribute in the MDG UI

70 Views

Hi All,

I have added a custom entity (call it C1) in the finance data model (0G), added an attribute to the profit centre entity intended to contain a C1 member name, and set up a foreign key relationship between this attribute and the C1 entity (multiple profit centres can be assigned to the same C1 member).

I then created a customisation of the maintain profit centre UI and added an input field for the new attribute. This works as far as it goes: I can process C1 member names that exist in the C1 table, and invalid names get blocked with an error message.

My issue is that I want the new field in the UI to offer the user a list of valid names to select from. I’ve used MDGIMG to create a HANA search view for the C1 entity, but I cannot see how to link it to the UI – if that’s even what I should be doing.

Can anyone offer guidance on how to enable such a list, or point me at appropriate documentation?

Regards,

Paul