Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
This a customization question is for an existing Test Request document which is stored in a Test Library. I want to add an attribute called "Project" to the Test Request document. To populate the attribute, I want to be able to search and select from all existing Projects in Project Link to populate the attribute. Is this possible, and if so, how?
Hi @mquayle,
Yes, this can be done with customization apporach.
To do this:
1. Write your own custom class which implements com.ptc.core.components.suggest.Suggestable interface.
2. Override public Collection<SuggestResult> getSuggestions(SuggestParms sParms) method.
3. THis method returns a collection of objects (here it will name of all projects from your system).
3. In this method you can use wt.query.QuerySpec object to query all of the Projects you have created.
4. And use above class a Data Utility to attribute for SuggestTextBox.
I hope this helps you.
Regards,
Shirish