Friday 4 July 2014

PeopleSoft Workcenters

What is PeopleSoft Workcenter?

PeopleSoft Workcenter page allows user to access all the related component, pages, query results, etc. from one central location. It divides the browser window into two frames, (i) an adjustable pagelet area and (ii) a target content area, which interact with each other by passing contextual information using an event driven model. 

Business benefits:
  • Users can easily access all the desired pages and components from one location.
  • Productivity can be increased by minimizing the time that a user spends by navigating through links.
  • Personalized view of workload.
  • Seamless multitasking and improved efficiency.
  • Secured feature as it uses PeopleSoft delivered security..
  • Easy to configure and maintain.


Sample Business Purpose/Example:
  • Navigations and report for a particular role/user can be put together at one central location.
  • Query-based pagelets, which are configured to display retrieved values as active links, are ideal for use with Workcenter pages; e.g. a drill down PS Query, which filters applicant based on a given criteria, can display the applicant’s detail in target window – by selecting the applicant from PS Query result.
A workcenter created for recruiting team.

Development process of PeopleSoft Workcenters

Developing a workcenter is simple with 4 steps,
  1. Create a new pagelet based on requirements.
  2. Create a Workcenter and designate it’s starting page.
  3. Create pagelet groups and assign pagelet to groups.
  4. Launch a Workcenter for test.

Step 01 : Create and publish new pagelet based on requirements.
Both homepage pagelet and template based pagelet can be consumed by PeopleSoft Workcenters.

A) Navigation collection based pagelet
Navigation: Main menu àPeopletools à Portal à Pagelet Wizard

B) PS Query Based Pagelet
Navigation: Main menu à PeopletoolsàPortalàPagelet Wizard

Create the PS Query and assign it to the Pagelet. This query fetched the Job Opening IDs of the current recruiter logged in .On the 5th step of publishing the pagelet, user needs to create the link as can be seen below.

An example of pagelet with PS Query data type

Click on the link iconto configure Pagelet links as shown below

C) Component Based Pagelet
A component used for component based pagelet should have a dummy record as search record, should not have any save functionality and should consist of only one page.While registering the content reference, provide the template name as shown below

Step 2) Create the Workcenter and designate the starting page.

Create the Workcenter through Manage Workcenter Pages
Navigation: Main Menu à Peopletools à Portal à Workcenter à Manage Workcenter pages

  • Click on Create new Workcenter page (as shown in above figure) and select the starting page. User can select the Workcenter starting page as either a Link to existing menu item or Existing menu item or Workcenter Dashboard.
  • Select the starting page of Workcenter as shown below.

Step 3) Provide the Pagelayout option and pagelet groups to configure the Workcenter.

Provide the pagelet Group ID and Group Label and select the pagelet name. One can have more than one pagelet in a pagelet group. Having two pagelet groups created two tabs in Workcenter area. Launch the Workcenter.

This demo workcenter has all the frequently accessed recruitment links with applicant list as the landing page. Dashboard functionality can also be added by using Workcenter Dashboards.

User personalization capabilities:
Users can personalize their workcenters according to their requirements. They can sequence the pagelets; minimize the pagelets according to the requirements.

Limitations of Workcenter:
Few limitations on the current version (8.53 PUM 6) of Workcenters are, 
  • Workcenter starting page cannot be a search page.
  • Workcenter cannot be consumed as WSRP content.                                               


We hope this blog gives a good overview of PeopleSoft workcenter.

For any further clarification or suggestion, please reach us on info@kovaion.com

Thursday 1 May 2014

PopleSoft Process Flowbasics

PeopleSoft Process flow(Basics): PeopleSoft Process flow to access a PS application page can be explained.
  • Link interpreted as URL address by Web browser, which includes the name of a Servlet on the Web server.
  • Servlet running in the Servlet engine interprets request and comes up with a list of objects that are required to build the page.
  • Request for all required objects sent to application server in the form of a Jolt message.
  • Tuxedo receives the Jolt message, and converts it into a service request, which it routes to the appropriate PeopleSoft server process.
  • PeopleSoft process converts service request into SQL statement(s).
  • The version of the object which is required by the request is matched between the database and the physical cache present. If the cache is latest, it is issued from there otherwise, SQL statement(s) are sent to database for fetching. After the operation, the cache is updated along with its version number.
  • Data requested is supplied by the database.
  • Tuxedo acknowledges the receipt of data and closes connection with the PeopleSoft process.
  • PeopleSoft process constructs HTML code out of object data.
  • Data forwarded by Tuxedo through Jolt requesting Java Servlet.
  • Servlet forwards the HTML page requested by browser.
  • When all objects are in place, HTML page is forwarded to the Web services.
  • Browser views page.

The default screen which comes when you enter the URL resides on WebServer called signin.html. It points to various JavaScript’s and iScripts. By default, according to your installation of db, it takes the language. Generally it is English. If you select any other language, you click it on signin.html and it updates the JavaScript’s.

When you login to PIA, first it checks the parameter in appserver Config file to see validate sign on with db option is enabled or not. If yes, it sends your userid/password as a connection string to db and validates. If no, then from Config file, connect id and password are fetched and made an internal connection. After it logs in successfully, the OPRID is authenticated in db. It checks lastupddatetime, acctlock, encrypted, symbolicid etc from PSOPRDEFN table. Then it logs in through the accessid fetched from PSACCESSPRFL corresponding to the symbolic id that is fetched from PROPRDEFN with your OPRID. It makes persistent connection to db.

It checks version in PSVERSION table to ensure all data is in sync and no cache errors. Then it loads the iScript ‘Lframe’,’Rframe’ etc. From WEBLIB_NAV_MAIN weblibrary which is assigned to you through a role.

This is a manadatory weblibrary to load the PIA. In addition to it, you need to have WEBLIB_PORTAL, WEBLIB_TIMEOUT, WEBLIB_PT_NAV etc to move accross PIA and perform basic operations. But, these are optional. The html is generated from Application Packages and iScripts. The page you see afer you login, that comes from PT_BRANDING application package. Your profile page comes after it authenticates you in db and makes several db updates. In PSACCESSLOG it makes entry from the host/ip address you log in. If other Audits are set, it updates in Audit tables and executes triggers associated to them.

In the meantime, the cookie from application server that your OPRID is authenticated, http://server:port/servlet_name/SiteName/PortalName/NodeName/content_type/content_id?content_param is the URL format.

It checks which PORTAL, NODE you are trying to login. Examples of portal are customer, employee etc. Node is ERP, HRMS, CRM etc. It queries PSPRSMDEFN table to have data validated. It queries all independent entries like content_type ex c for component, h for homepage, q for query etc, content id like component and pagename and finaly your market you use. In our case that is GBL(global).

According to your roles in PSROLEUSER table, it queries all related security tables to findout what all implicit permissions that you have. It queires PSROLECLASS to sync role along with permission list, PSAUTHITEM to have all the tools, menu, query and other permissions. It checks the checksum with registry stucture according to the PORTAL name you enter in URL (or by default employee is treated) and loads the page according to its visualisation. It also checks your personalisation to your favorites and worklists before loading the initial page. After loading everything again it checks the PSVERSION to sync cache.

Now if you are logging in through LDAP, the process differs a little. First it checks the directory connectivity and then goes to the userid/password authentication. Then it executes signonpeoplecode before rendering the user its profile homepage.

Now, there are separate component interfaces you need to have access to see them on your profile homepage like password change etc. When you click on a menu appearing you in your profile, it first checks PSPNLBTNDATA table to check its existance and then checks the PSPRSMDEFN and some other registry allocation tables to check its integrity and then checks your privileges to access that menu through a complex query by joining PSROLEUSER, PSROLECLASS and PSAUTHITEM table. Accordingly checking which mode you have access to the component, it opens it.

Author,
Suresh Babu
suresh.babu@kovaion.com