Display all work objects of a case type
Hello,
I have a requirement to use an autocomplete control to allow the user to select a work object from a list of WO's from a specific case type. I tried to look for a data page that just shows all of the WO's so that the autocomplete could just be sourced from that, but I could not find that feature. Any ideas?
You can easily define a List Data Page that sources the Work- pyGetWorkInStage Report Definition.
The Work- pyGetWorkInStage Report Definition takes two parameters,i.e., StageID and ObjClass.
The Data Page that sources this RD, however, would only ask for an ObjClass parameter, plus declare that this parameter is required.
When the Data Page is invoked, the RD would query all instances of the required param.ObjClass.
You can also check both boxes under "Keyed page access"
o Access pages with user defined keys
o Allow multiple pages per key
As the PageList key you would specify ".pxObjClass".
By doing this, the List Data Page would append a pxObjClass-keyed PageList for each unique "ObjClass" parameter passed to it.