slide1 n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
2013PSFT-102620 Mastering PeopleTools: Exploiting PeopleTools Tips and Tricks PowerPoint Presentation
Download Presentation
2013PSFT-102620 Mastering PeopleTools: Exploiting PeopleTools Tips and Tricks

Loading in 2 Seconds...

play fullscreen
1 / 40

2013PSFT-102620 Mastering PeopleTools: Exploiting PeopleTools Tips and Tricks - PowerPoint PPT Presentation


  • 160 Views
  • Uploaded on

2013PSFT-102620 Mastering PeopleTools: Exploiting PeopleTools Tips and Tricks. Jim Ellis PeopleSoft Applied Technology .

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about '2013PSFT-102620 Mastering PeopleTools: Exploiting PeopleTools Tips and Tricks' - devlin


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
2013psft 102620 mastering peopletools exploiting peopletools tips and tricks
2013PSFT-102620Mastering PeopleTools: Exploiting PeopleTools Tips and Tricks

Jim EllisPeopleSoft Applied Technology

slide3

The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.

it project justification
IT Project Justification

Cost

Value

Low cost,

High value

program agenda
Program Agenda
  • User Experience
  • Writing Code
  • System Administration Tips
evolving from ui to ux higher productivity information to action

Great

User

Experience

Evolving from UI to UXHigher Productivity, Information to Action
  • Interactive
  • Intuitive
  • Graphical, Visual
  • Proactive Delivery
  • Actionable
  • Event-based

Look and Feel

Content

Process/

Navigation

  • Transactional
  • Business Process Orientation
  • Role-based Consoles
documented user experience techniques
Documented User Experience Techniques
  • PeopleTools 8.52 and 8.53 have incorporated some exciting new user experience capabilities – Interaction Hub, Dashboards, WorkCenters and more !
iscripts
iScripts

PeopleSoft “Swiss Army Knife”

  • 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
iscripts1
iScripts

Requirements

  • 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
iscripts2
iScripts

Application Designer – Derived/Work Record

iscripts3
iScripts

Web Library Security – Permission Lists

iscripts4
iScripts

Application Designer – Derived/Work Record

pagelet wizard
Pagelet Wizard

Configurable iScript

  • Create New Displays
  • Extend through new Data Types, Display Formats, & Transform Types
  • Not just for Home Pages
    • WorkCenters
    • Related Content
    • Stand Alone
    • Ajax
integration broker
Integration Broker

Stateless UI

  • 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
javascript injection
JavaScript Injection

Modify Behavior Without Modifying Code

  • 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…
static javascript
Static JavaScript

Application Designer Definition

slide20
Martin Fowler

Refactoring: Improving the Design of Existing Code

“Any fool can write code that a computer can understand. Good programmers write code that humans can understand.”

reference named definitions
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

how to truncate an array
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;

peoplecode language
PeopleCode Language

Binary to Base64 – OLD Way

Local 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;

keep up with changes
Keep up with Changes

Binary to Base64 – NEW Way

Local File &f = GetFile("c:\img.png", "R", %FilePath_Absolute);

Local string &b64Data = &f.GetBase64StringFromBinary();

complex logic
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;

be positive
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;

don t be so negative
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;

troubleshoot with fiddler
Troubleshoot with Fiddler

HTTP Debugging Proxy Server Application

  • Report Node
  • Integration Broker
  • PeopleSoft Test Framework
  • User Interface
troubleshoot with fiddler1
Troubleshoot with Fiddler

HTTP Debugging Proxy Server Application

modular infrastructure design
Modular Infrastructure Design

Decoupled Homes

  • 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+
modular infrastructure design1
Modular Infrastructure Design

Decoupled PeopleSoft Homes

  • 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+
modular infrastructure design2
Modular Infrastructure Design

Advantage of Decoupled PeopleSoft Homes

  • 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
modular infrastructure design3
Modular Infrastructure Design

PeopleSoft Oracle VM Images

  • 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
books to make your life easier
Books to Make Your Life Easier…..

Tips and Techniques – Get Ready for Your PeopleSoft Upgrade !

learn more
Learn More
  • New Information Development Solutions

Video Feature Overviews & More on YouTube

Strategy Blog

Linkedin

More helpful resources can be found on the PeopleSoft Information Portal

Twitter

Cumulative Feature Overview Tool

Facebook

  • Click on to link to resource.
learn more1
Learn More
  • More Information Development Solutions

Hosted & Mobile PeopleBooks

Fit Gap UPK

Upgrade Resource Report

More helpful resources can be found on the PeopleSoft Information Portal

Entity Relationship Diagrams

Service Repository

Business Process Maps

  • Click on to link to resource.