Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Version: Windchill 12.1
Use Case: How to get a custom User Picker datautility as object reference in advanced search?
Description:
PR Owner is a custom data utility, which gets string url of a WTUser and displays as a link in the UI.
Is there a possibility to get this IBA as a user picker like the 'created by' , instead of a plain text field?
Can you re-write this clearer? Are you saying that PR Owner is a custom IBA? Or have you already linked a custom data utility to this IBA value? Try turning on jcaDebug=true
I created a Global Attribute(String), and implemented a custom data utility extending the default Data utility class.
then I created an attribute on Problem Report called PR Owner based on the Global Attribute, and then added it to the Problem Report Layout. So, now I can use it as a UserPicker field on Create/Edit screens, and in View mode I'm returning that as a Hyperlink by taking the user ID and forming a URL.
My question is, this PR Owner(being a String) is a free text field in Advanced Search. Can I get it as a user picker in Advanced Search too?
@RG_11025060 , not sure if you are aware of this but "Owner" is an OOTB attribute, and it does include the functionality you are looking for.
Note, only attributes, such as Owner, are visible is you select only Object Types that have "Owner" attribute. If you select two types and one has Owner attribute and one does not have that attribute, Owner will not be available for searching.
You might already know all of this, but maybe not.
Hi @d_graham
I'm looking to for a custom attribute, as I need it on other Object types too. In this case, PR Owner is just an example of how I need it. Thanks!