PS
-
Upload
jasonpaul81 -
Category
Documents
-
view
7 -
download
3
description
Transcript of PS
![Page 1: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/1.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.1
![Page 2: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/2.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.2
IT Project Justification
Co
st
Value
Low cost,High value
![Page 3: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/3.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.3
Program Agenda
User Experience
Writing Code
System Administration Tips
![Page 4: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/4.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.4
User Experience
![Page 5: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/5.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.5
Evolving from UI to UXHigher Productivity, Information to Action
Process/
Navigation
Content• Interactive• Intuitive• Graphical, Visual
• Proactive Delivery• Actionable• Event-based
• Transactional• Business Process Orientation• Role-based Consoles
Great
User
Experience
Look and Feel
![Page 6: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/6.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.6
Documented User Experience Techniques
PeopleTools 8.52 and 8.53 have incorporated some exciting new user experience capabilities – Interaction Hub, Dashboards, WorkCenters and more !
![Page 7: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/7.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.7
iScripts
Create Dynamic URL’s– CREF’s that redirect to other targets
Serve Non-HTML pages– Images, JavaScript, CSS, etc
– iCal, vCards, etc
Ajax/Flex Data Source
PeopleSoft “Swiss Army Knife”
![Page 8: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/8.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.8
iScripts
Defined in a record that begins with WEBLIB iScript Function must begin with IScript_ iScript Function has no Parameters iScript Function does not Return a Value
Requirements
![Page 9: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/9.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.9
iScriptsApplication Designer – Derived/Work Record
![Page 10: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/10.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.10
iScriptsWeb Library Security – Permission Lists
![Page 11: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/11.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.11
iScriptsApplication Designer – Derived/Work Record
![Page 12: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/12.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.12
Pagelet Wizard
Create New Displays Extend through new Data Types, Display Formats, & Transform Types
Not just for Home Pages– WorkCenters
– Related Content
– Stand Alone
– Ajax
Configurable iScript
![Page 13: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/13.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.13
Integration Broker
REST services SOAP services Serve HTML, JSON, JavaScript, XML, etc Client-side Mash-up Benefits:
– Can be anonymous
– Separate server
– Can use HTTP Basic Auth
Stateless UI
![Page 14: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/14.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.14
JavaScript Injection
Add JavaScript to the end of a common PT% HTML Definition– PT_PAGESCRIPT
– PT_COPYURL
– PT_COMMON (if PT 8.50 or higher)
Change Behavior/Appearance of Existing Pages w/o Modifying Pages Warning: Must be properly managed – easy to introduce bugs…
Modify Behavior Without Modifying Code
![Page 15: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/15.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.15
Static JavaScriptApplication Designer Definition
![Page 16: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/16.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.16
Writing Code
![Page 17: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/17.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.17
Martin FowlerRefactoring: Improving the Design of Existing Code
“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.”
![Page 18: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/18.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.19
Reference Named Definitions
/* Find Definition References command won't find this */If (&rec.Name = "PERSONAL_DATA") Then
/* Too much overhead */If (&rec.Name = CreateRecord(Record.PERSONAL_DATA).Name) Then
/* Best */If (&rec.Name = Record.PERSONAL_DATA) Then
![Page 19: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/19.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.20
How to Truncate an Array
Learn the Language - Really, Really Well !
Local object &Object;Local array of object &ArrObject = CreateArrayRept(&Object, 0);
/* OK -- It Works, but DON'T DO THIS!! */While (&ArrObject.Len > 0) &ArrObject.Pop();End-While;
/* BETTER: 1 line, no loop, but construction overhead */&ArrObject = CreateArrayRept(&Object, 0);
/* BEST: 1 line, no loop */&ArrObject.Len = 0;
![Page 20: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/20.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.21
PeopleCode Language
Binary to Base64 – OLD WayLocal JavaObject &f_in = CreateJavaObject("java.io.FileInputStream", "c:\img.gif");Local JavaObject &coder_in = CreateJavaObject("org.apache.commons.codec.binary.Base64InputStream", &f_in, True);
Local JavaObject &reader = CreateJavaObject("java.io.BufferedReader", CreateJavaObject("java.io.InputStreamReader", &coder_in));
Local string &b64Data = "";Local any &line;While True &line = &reader.readLine(); If (&line <> Null) Then &b64Data = &b64Data | &line | Char(13) | Char(10); Else Break; End-If;End-While;
![Page 21: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/21.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.22
Keep up with Changes
Binary to Base64 – NEW Way
Local File &f = GetFile("c:\img.png", "R", %FilePath_Absolute);
Local string &b64Data = &f.GetBase64StringFromBinary();
![Page 22: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/22.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.23
Complex Logic
Bugs love clutter…!
&bPosEffdt = False;If &hdr.Name = "POSITION_DATA" And &fld.Name = "EFFDT" Then &bPosEffdt = True;End-If; If (&fld.IsKey) And &bPosEffdt = False Then &where = &where | " and " | &prefix | &fld.Name | %This.GetFieldSQLBind(&fld);End-If;
![Page 23: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/23.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.24
Be Positive
Use an Empty “If” - Instead of “Not”
If ( &hdr.Name = Record.POSITION_DATA And &fld.Name = Field.EFFDT) Then REM ** Do nothing;Else &where = &where | " and " | &prefix | &fld.Name | %This.GetFieldSQLBind(&fld);End-If;
![Page 24: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/24.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.25
Don’t Be So Negative -
It is harder to comprehend negative logic…
If ( Not (&hdr.Name = Record.POSITION_DATA And &fld.Name = Field.EFFDT)) Then &where = &where | " and " | &prefix | &fld.Name | %This.GetFieldSQLBind(&fld);End-If;
![Page 25: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/25.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.26
Administration Tips
![Page 26: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/26.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.27
Troubleshoot with Fiddler
Report Node Integration Broker PeopleSoft Test Framework User Interface
HTTP Debugging Proxy Server Application
![Page 27: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/27.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.28
HTTP Debugging Proxy Server ApplicationTroubleshoot with Fiddler
![Page 28: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/28.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.29
Troubleshoot with Fiddler
![Page 29: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/29.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.30
Troubleshoot with Fiddler
![Page 30: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/30.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.31
Modular Infrastructure Design
PS_CFG_HOME– Contains the PeopleSoft configuration content like cache, log files
– PeopleTools 8.50+
PS_APP_HOME – Location of the PeopleSoft Application– Install and run the PeopleSoft application independent of PeopleTools.
– PeopleTools 8.52+, PeopleSoft Applications 9.0+
PS_CUST_HOME – Location of Customizations– Designate a specific file system location for customizations (COBOL, SQR, etc.)
– PeopleTools 8.53+
Decoupled Homes
![Page 31: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/31.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.32
Modular Infrastructure Design
PS_HOME– Contains only file system artifacts deployed by PeopleTools installation programs
PS_CFG_HOME – Location of Configuration content like cache, log files– PeopleTools 8.50+
PS_APP_HOME – Location of the PeopleSoft Application– Install and run the PeopleSoft application independent of PeopleTools.
– PeopleTools 8.52+, PeopleSoft Applications 9.0+
PS_CUST_HOME – Location of Customizations– Designate a specific file system location for customizations (COBOL, SQR, etc.)
– PeopleTools 8.53+
Decoupled PeopleSoft Homes
![Page 32: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/32.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.33
Modular Infrastructure Design Secured Environment
– Different owners for PS_APP_HOME and PS_HOME
– No cross-writing of the PS_HOME and PS_APP_HOME by restricted users.
– Runtime user can have restricted access
Reduced Disk Space Needs– Same installation can be shared by multiple independent runtime users
Patch Application– Simplified due to fewer distinct copies of the installation that must be maintained.
Reuse– Decouple PeopleSoft homes helps run multiple applications use the same PS_HOME
Problem Diagnosis– Easier to isolate the problem
Isolation of Customizations– Allows the PS_HOME and PS_APP_HOME locations to retain only content delivered with the installation program
Advantage of Decoupled PeopleSoft Homes
![Page 33: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/33.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.34
Modular Infrastructure Design
Oracle's PeopleSoft Virtualization Products (Doc ID 1538142.1) Quick Start Option for PeopleSoft Applications Portal, HRMS, FSCM, ELM Two Oracle Linux/Oracle VM Images
– PeopleSoft FSCM Database instance running on Oracle Database 11.1.0.7 containing PeopleSoft demo data
– PeopleSoft Internet Architecture and Application Server with Oracle Tuxedo 10gR3 and Oracle Weblogic 11g
PeopleSoft OVM Whitepaper Available– http://docs.oracle.com/cd/E18128_01/psft/acrobat/OVM_Templates_WhitePaper_2010.pdf
PeopleSoft Oracle VM Images
![Page 34: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/34.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.35
Books to Make Your Life Easier…..Tips and Techniques – Get Ready for Your PeopleSoft Upgrade !
![Page 35: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/35.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.36
Learn MoreNew Information Development Solutions
More helpful resources can be found on the PeopleSoft Information Portal
Video Feature Overviews & More on YouTube
Strategy Blog Linkedin
Cumulative Feature Overview ToolTwitter Facebook
Click on to link to resource.
![Page 36: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/36.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.37
Learn MoreMore Information Development Solutions
More helpful resources can be found on the PeopleSoft Information Portal
Click on to link to resource.
Hosted & Mobile PeopleBooks
Entity Relationship Diagrams
Fit Gap UPK Upgrade Resource Report
Service Repository
Business Process Maps
![Page 37: PS](https://reader035.fdocuments.in/reader035/viewer/2022062712/55cf9a08550346d033a02ea8/html5/thumbnails/37.jpg)
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.38