Download presentation
Presentation is loading. Please wait.
Published byRolf Lucas Modified over 9 years ago
1
IScript, Therefore I Am Using IScripts in PeopleTools 8.4x
2
Agenda Background. What is an IScript? How do you create one? Why would I want to? A real-world example.
3
PeopleSoft Internet Architecture Windows/Web Client Database Integration Gateway Messaging PIA HTTP/Web Server Servlets Report Repository Tuxedo/Jolt Manage Users Service Communications PeopleSoft Services Presentation Component Processor PeopleCode Cobol Application TierWeb Tier PeopleSoft Services AppEngine SQR, Crystal, Etc. Batch Server HTTPHTTP
4
Typical Web Conversation Web Client HTTP/Web Server Request Response PostGet Form data will appear within a message body. Form data is encoded by the browser into a URL. More functionality: retrieves, stores, updates data, makes modifications to databases, and so on. Best used for retrieving data. Not cacheable.Cacheable Can handle large number size of data Limited in length Considered more secureConsidered Less Secure Two Main Flavors
5
What is an IScript? …the Big Picture Windows/Web Client PIA HTTP/Web Server PeopleCode HTML Definitions Interal Servlet PSP/PSC Application Server Request Object Response Object
6
Regular URL vs. IScript URL /c/GBUT_DEVELOPER.GBUT_ISCRIPT_DEMO.GBL /s/WEBLIB_IS_DEMO.FUNCLIB.FieldFormula.Iscript_ShowBrowser https://eiswbup.admin.unt.edu:7202/psc/lsdv89/EMPLOYEE/HRMS Scheme Server(port) Servlet PortalName NodeName SiteName Content Type (Component) Content ID (Menu_Component_Market) Content Type (Iscript)Content ID (Record.Field.Event.Function)
7
How do I create one? Create the PeopleCode in a Weblib Add Security for your IScript Create the link for your IScript Test (oh yes, you heard me correctly!)
8
Create the PeoplCode in a Weblib Weblib’s are like Funclibs. They should be Derived Work Records. Usually a single field (Funclib) is enough. Place your code in the FieldFormula Event Each Iscript Function must begin with the string Iscript_ (i.e. Iscript_HellowWorld)
9
Add The Security Access to Weblibs is granted via Permission Lists Special Weblib tab on the Permission List tab Access is granular to the Iscript (Function) level
10
Create the Link Where am I accessing the weblib from? If from PeopleCode/Page use Button HyperLink type field of at least 254 length! Set as External Link, Dynamic URL Use deleivered functions to set field value. (i.e. GenerateScriptContentURL) Or you can use a Content Reference.
11
A Walk-through
12
Why would I want to use an IScript? IScripts give the developer complete control over the HTML sent to the browser If the page being developed cannot be built using PeopleSoft Application Designer. An example of this is a page that requires more than one HTML form. If the page being developed never accesses the database. Using a page and Component Processor for this type of page incurs unnecessary processing overhead. Some examples Viewing Files Response to 3 rd party When you are Will Senn…
13
Resources Peoplebooks API reference See Internet Classes (Iscript) GBUT_ISCRIPT_DEMO (LSDV89)
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.