Introducing ezSDK SearchBuilder

SearchBuilder is a PeopleSoft development accelerator delivered with the ezSoftware Development Kit (ezSDK). It combines ezSDK FlexField and Chunking page controls into a single application component enabling development of powerful, high-performance search components that efficiently handle large data sets. Employing our Drag, Drop & Register technology, SearchBulder significantly reduces development time and requires minimal coding.

This article provides a step-by-step demonstration of development of a basic search page using SearchBuilder. Like all ezSDK development accelerators, SearchBuilder is Extensible by Design. Additional functionality to that demonstrated here can be achieved by extending the SearchBuilder Control class.

Step 1: Place the SearchBuilder subpage, UDG2SRCHCTLSBP, on your new page and configure record name substitution to record UDG2SRCHCTLWRK.

SearchAC_Subpage

Step 2: Add a grid or scroll area to your page and populate it with fields from the table or view you want to search (PSOPRDEFN in this example). If you want to be able to transfer to another component from your page add an HTML Area associated with record field UDG2SRCHSCRLWRK.UDG2_CONTENT_URL.

SeachAC_Scroll

Step 3: Create a new component for your search page. Set INSTALLATION as the component search record, uncheck the Add action, and check Disable Saving Page.

SearchAC_Component

Step 4: In the component PreBuild event add Search page control registration PeopleCode as shown below.

  • If you want to be able to transfer to another component from your page set the page control ContentReferenceName property to the Portal Content Reference Name for the target component.

SearchAC_Register1

Step 5: Test your new search page.

Step 6: Refine your page:

  • Use the SaveDefaultPbVisible property to permit users to save default filter settings.
  • Use the ForceAutoSelect property to automatically search on component entry.

SearchAC_Register2

  • Use the Search BusinessUnitPromptTable property to enable business unit as a filter option.
  • Use the SetidPromptTable property to enable setid as a filter option.
  • Use the FlexField RecnameFieldVisible property to hide record names.
  • Use the FlexField Visible property to reduce the number of available FlexFields.
  • Use the FlexField addFieldnameExclusions method to remove fields you don’t want used as filter criteria from FlexField fieldname drop-down lists.

SearchAC_Register3

SearchAC_ScreenShot

 

Related Articles