We have some reports on User Portal in our system with links on different type of objects: Work-objects and Data-objects (configured to open by click on pyID link like Work-objects). So, we get a requirement to create a full-search field on User Portal with ability of searching by some properties of Work-objects (we can implement this by using @baseclass.FindWork section and Custom Search Properties) and custom Data-objects (class MyCompany-FW-KPIFW-Data-PlanningPeriodKPI).
I created Custom Search Properties object for the class MyCompany-FW-KPIFW-Data-PlanningPeriodKPI, but i don't understand, how to implement full text search on Data-objects (filtered by set of classes) and show results to end user (by the way like used in @baseclass.FindWork section)?
First of all, you have to be sure that DSS indexing/useDataInstances is set to true. Then create a new instance of Custom Search Properties for your data class.
To implement full text search feature for your data class in the user portal, you have to create your own section, based on any existing one like @baseclass.FindWork.
As a recommended pattern you have to create a grid sourced by a Data Page to show search results to the user. The data page is sourced by a wrapper activity that calls the OOTB activity “pxRetrieveSearchData,