Question
Eviden
Eviden
NL
Eviden
Posted: Mar 21, 2019
Last activity: Jun 28, 2019
Last activity: 28 Jun 2019 1:00 EDT
Closed
Solved
Adding a column with a "Custom Search Property" to search results (pyWorkSearchResults).
Requirement:
- Use the OOTB search functionality (pySearchFieldWorkResponsive) in the portal, search bar in the top right-hand corner.
- Search for the content of a property from the case, let’s call it .Bob.
- In the pop-out search results and in the “open results in new window”, cases should be visible which correspond with the search string.
- In addition, .Bob should populate a new column in the search results.
Current problem:
- The right cases are being displayed when searching on the content of the property (Work-.Bob).
- However, Property (Work-.Bob) is not populating the new column in the search results (pyWorkSearchResults & pyShowResultsInNewWindow).
Current implementation:
Show More
Requirement:
- Use the OOTB search functionality (pySearchFieldWorkResponsive) in the portal, search bar in the top right-hand corner.
- Search for the content of a property from the case, let’s call it .Bob.
- In the pop-out search results and in the “open results in new window”, cases should be visible which correspond with the search string.
- In addition, .Bob should populate a new column in the search results.
Current problem:
- The right cases are being displayed when searching on the content of the property (Work-.Bob).
- However, Property (Work-.Bob) is not populating the new column in the search results (pyWorkSearchResults & pyShowResultsInNewWindow).
Current implementation:
- Created property (.Bob) in Work-.
- Optimized property for reporting.
- Added property (Work-.Bob) to “Custom Search Properties: pySearch” (Work-.pySearch).
- Re-indexed Work-.
- Added property (Work-.Bob) to “Report Definition: Work Search” (Work-.pyWorkSearch).
- Added a column populated by property (Work-.Bob) to the results table in “Section: Work search Results” (Work-.pyWorkSearchResults).
- Added a column populated by property (Work-.Bob) to the results table in “Section:Show Results In New Window” (Work-.pyShowResultsInNewWindow).
- Test by searching on the content of property (Work-.Bob).
- Test results in returning the right cases. All columns are populated using OOTB properties, for example .pyID. However, the column based on the custom property (Work-.Bob) is not populated (empty).
- When opening the search results in a new window. Property (Work-.Bob) is empty on the clipboard. (D_pyWorkSearch -> pyWorkResults).
***Edited by Moderator Marissa to update platform capability tags****
Show Less