I have a field that I want to add a visualization to. I add a material design dropdown field and it creates a static picklist. I need a dynamic one, so I go to create a new one, but the File->New->Resuable Part no longer has the dynamic picklist option. I create it based off the object and implement the IDynamicPickList interface. When I add it to the field, it creates a standard Visual PickList.
That standard visual picklist seems to be getting rendered as a material design drop down. The picklist is firing as I can see the items coming down, but the items never show up in the dropdown.
If the standard dynamic drop list is being rendered as a MD dropdown, why is there a MD visualization? Which one are you supposed to use?
Here is the field visualization. And the dynamic picklist
Code: Select all
function options(*DIRECT)
begin_com role(*EXTENDS #PRIM_OBJT *IMPLEMENTS #PRIM_DC.IDynamicPicklist)
def_list name(#List) fields(#PublisherId #Name) type(*WORKING) entrys(*MAX)
mthroutine name(Load) options(*REDEFINE)
define_com class(#HAVPublishersServer.Find) name(#publishers)
#publishers.ExecuteAsync List(#List)
evtroutine handling(#publishers.Completed)
#Picklist.RemoveAll
selectlist named(#List)
#Picklist.Add( #PublisherId.AsString #Name )
endselect
endroutine
endroutine
end_com