Custom Select List in Data Inspector

I am trying to add a custom property which will provide an option to user to select an item from drill down. The data for this will come from ajax call.
Can someone help me on this with an example?

Is this the same topic as DropDown List in Data Inspector AND diagram name ?

Try using the updated https://gojs.net/latest/extensions/DataInspector.js. This is new in 1.8.4. Read the code to understand how it works.