The PS Query toolset provides the easiest mechanism to create and generate simple reports from PeopleSoft. While PS Queries cannot be used to produce highly formatted and graphical reports, it is very effective in extracting day-to-day enquiry queries which is of interest to employees, managers and administrators. Considering this, it is a bit surprising that most customers deploy this tool only for the use of administrators. One of the main reasons for the restricted use of PS Queries is that most customers are reluctant to let managers run a PS Query using the Query Manager/Viewer pages. Query Manager and Query Viewer are the standard options available in PeopleSoft to run PS Queries and there are indeed usability issues in opening up these pages to the end user community. But, the fact remains that there are easy alternatives to Query Manager and Query viewer in PeopleSoft, which can be effectively used to enable end users utilise PS Query based reporting. In this post, we take a high level tour of the methods that can be used to access PS Queries without using Query Manager or Query Viewer.
(a) Accessing PS Query as a navigation link (content reference): Managers/Employees are most familiar with navigating through the folder structure of PeopleSoft and accessing information in as minimum number of clicks as possible. So, what if your managers/employees could access relevant PS Queries just like any other page in PeopleSoft, just by clicking a navigation link? This can be achieved by creating a PS Query as just another content reference under the navigation structure that you desire. Once you create a query as a content reference, you could very well add that in a navigation collection as well, to improve the usability experience.
Here are the steps to create a PS Query as a content reference:
- Navigate to Peopletools > Portal > Structure and Content and create a new content reference definition.
- Select the URL Type as PeopleSoft Generic URL
- Enter the portal URL as q/?ICAction=ICQryNameURL={Query Name}
- Save the content reference definition and you are good to go!
- Add a hyperlink object in the page where you want the query to be accessed.
- Put the destination properties of the hyperlink as a dynamic external link.
- Instantiate the value of the hyperlink to the URL of the relevant PS Query. You can get the URL of a PS Query using the CreateQueryURL peoplecode function.
Post Note: The above is not a complete list of the alternatives presented in PeopleSoft for running PS Queries. There are certain options which are more appropriate for administrator type users, which have not been documented above.
- The first among the options is Reporting Console (Main Menu > Reporting Tools > Reporting Console). Reporting Console is an excellent utility to organise various reports and processes based on functionality and is a must have for the administrator community.
- Another interesting alternative is the use of XMLLink registry function to access PS Queries directly from a MS Excel workbook. This is documented in detail here and goes a step further to improve the usability experience of the administrator community.
- It is possible for external applications to create or invoke a PS Query in PeopleSoft using web services. The Query Access Service toolset provides a number of service operations that can be utilised by third parties to create or execute PS Queries.
- I had developed a bolt-on framework to organise and run PS Queries by functionality and designed to work outside the Query Manager/Viewer tools. This was developed to address the need to classify specific PS Queries that were routinely run to audit payroll results every bi-week. More details are documented here.
No comments:
Post a Comment