Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all articles
Browse latest Browse all 8876

Re: Created user picker using datautility throws error on callback function.

$
0
0
public void buildUserPickerConfig(final String component_id,
final ModelContext mc) throws WTException {
// HashMap<String, Object> defaultProps = new HashMap<String, Object>();
defaultProps.put("pickerId", "userPluralID");
defaultProps.put("objectType", "wt.org.WTUser");
mc.getDescriptor().setProperties(defaultProps);
}

 

This solved it. I was adding callback in the config. I removed it and it worked. The default callback function works I guess.


Viewing all articles
Browse latest Browse all 8876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>