iScript PeopleSoft Web Application
PeopleSoft iScript Application
1. Introduction
iScript also called as Internet Script is a PeopleSoft Tool to generate Dynamic Web Content. iScripts interact with web clients (browsers) using a request-response paradigm based on the behavior of the Hypertext Transfer Protocol. This case study is an introduction to iScript technology. With iScript you can create dynamic responsive content that can utilize power of PeopleSoft Technology.
1. Description
PeopleSoft requires user’s pre-stored Credentials for Application access. This gets tricky in scenarios where you would like external parties (not having PS credentials) to access PeopleSoft. iScript can be used in such scenarios to present content to users by bypassing login screen or utilizing third party authentications ( Facebook, gmail etc.).
Scenario – App to let vendors drop quotation for Laptop. You can roll out a mobile application that is authenticating users based on their before letting them enter data. This way you will have a valid gmail id of a user and present data for returning users , Eliminating any need to enter those users in PeopleSoft.
In this case study we have utilized PeopleSoft’s “Public User” access- part of Web Profile Configuration, to bypass login screen. Users Will only be able to access only public exposed pages. iScript can work with other web technologies like BootStrap ( used in this application) , AngularJS, JS etc.
You Tube Video
1. “Drop Card” Application Architecture
1. Technical Details
Configure Web Server
Select the active web profile and change configuration to allow access to Public user. System will allow you to choose a pre existing user. Ensure only Web Library security is provided to this user else system security might be at risk. Web profile changes might require web server bounce.
Web Library Function
The design of function library will depend on the type of libraries you are planning to use in your applications. A single page application design will differ from a traditional one. For this application three libraries were used
- Main Library – This will be the main landing page for a user. This will ask user to drop their contact information. Emailid is the key here via which we will check whether a user exists or not. An existing user will be presented with their pre stored information a new user will be asked to enter new data. Sine this application does not deal with any confidential information ( concept is to drop your visiting card), have not enabled password requirement. Alternatively a google authentication can be put in place to ensure we have valid email id.
- Form – This is the data entry form, this will be called to enter new data or update previous data. Different parameter was passed to call this page either in update or add mode.
- Message – Page to show success or failure message to user.
This was a small application and only three libraries were created for same. We need to provide security of these libraries to our public users.
2. Advantage of Using iScript
- Useful in extending PS applications.
- Separate servers not require to host applications.
- Able to utilize PS security structure.
- Can easily access other PS structure ( CI, Messages, User Profiles, HTML, CSS etc)
Cool, thanks for posting, Vivek.. iScript is one of the most underutilized constructs in PeopleTools. I've used iScript to construct entire responsive and mobile user interfaces, which leveraged other objects as Vivek describes. The Pagelet Wizard API becomes immensely useful when you can tap into it via PeopleCode and write the result back to browser outside a component buffer. Same for a Component Interface, being able to respect configured business logic and still control the presentation of data in a modern way.
Thank you for sharing with the PeopleSoft community, Vivek Sharma