Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Is it not possible to visualize field "Descrizione" inside Search page?
Solved! Go to Solution.
Hi Raffaella,
If I am not wrong, you would like to add Description column to Search result table. To do this:
1. Define a CustomResultTableView class that extends PersistableResultTableView
2. Override getOOTBTableViews() method to include additional column
3. In the getSpecialTableColumnsAttrDefinition() method, add new Data Utility based field
4. Hook your custom table view to to service.properties file via customizationService.xconf file
5. Write custom data utility to fetch Description value and hook this DU into components.dataUtilities.properties file
6. {Optional} If required you need to clear table view from TableViewDescriptor & ActiveViewLink table this perticular table> IMPORTANT: Have backup of those table before doing this.
7. Stop MS
8. Clear Tomcat, Info*Engine cache
9. Restart MS
10. Add Custom Descrizione column to table view.
In the past I had done this for Modified By field. See below screen capture:
Thanks,
Shirish
Hi Raffaella,
If I am not wrong, you would like to add Description column to Search result table. To do this:
1. Define a CustomResultTableView class that extends PersistableResultTableView
2. Override getOOTBTableViews() method to include additional column
3. In the getSpecialTableColumnsAttrDefinition() method, add new Data Utility based field
4. Hook your custom table view to to service.properties file via customizationService.xconf file
5. Write custom data utility to fetch Description value and hook this DU into components.dataUtilities.properties file
6. {Optional} If required you need to clear table view from TableViewDescriptor & ActiveViewLink table this perticular table> IMPORTANT: Have backup of those table before doing this.
7. Stop MS
8. Clear Tomcat, Info*Engine cache
9. Restart MS
10. Add Custom Descrizione column to table view.
In the past I had done this for Modified By field. See below screen capture:
Thanks,
Shirish
Hi Shirish,
Thanks for the steps. I had a similar requirement.
I had a user who wanted to see description field designated parameter from Creo (Default description attribute can be filled only when you create EPM Document from workspace.) So we ended up creating a new Global attribute and designated it in Creo.
To bring this to search results, all what we did was creation of a new view specific to CAD documents. But again this was type specific, in the criteria if you select just CAD document as type, then it would use the custom view with the description attribute. If you select multiple object types, then the only general system attributes would appear.
I like your banner message "Do not mess with site/org Settings - use Knowledge Base "
Thanks,
Binesh Kumar
Barry Wehmiller