I created a new entity in my CRM 2016 and it has two attributes: Entity Name and Entity Attribute. Users will use drop down and select Entity name (contract, contact, lead, etc), then they will select Attribute (leadid, custom_phone, etc)
My question is: how can I build lookup field to show entity name and entity attribute for lookup.
I have also investigate to current Entity Duplication rule, and I see lookup entity name is called record type, and use F12 developer tool to see this is list of option set.
The others research is: write plugin to get entity name array and put var[] to CRM control in form via javascript onload event, but it throw error when assign var[] to CRM control.
Could you give me a key word to do this requirement?