Tuesday 9 December 2014

How to Skip / Bypass a PeopleSoft search record

There are some situations for example Self Service Pages where we want the user to directly land on the require page by skipping the search page information .

We can bypass the component search page in two  different ways.

1. Set Installation table as component search record

 Any record with no search keys is being set as component search record is called Installation table .

2.  we can write the following peoplecode on SearchInit event of  component level search record


     SetSearchDialogBehavior(0);

For Example , If the page extracts information of the user by taking emplid , we can write the following peoplecode on above mentioned event 

     Search_Record.EMPLID = %EmployeeId ;
     SetSearchDialogBehavior(0);