Tips and Techniques for
PeopleSoft PeopleTools
Developers
Jim Marion
PeopleTools Expert
Oracle OpenWorld Bookstore
Visit the Oracle OpenWorld Bookstore for a fabulous selection of books
on many of the conference topics and more!
Bookstore location: Moscone South, East Bridge
All Books at 20% Discount
Meet the authors 1:00 PM – 1:30 PM
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.
New UX Tools
News that did NOT make the top of the hour
PeopleTools > Portal > Branding
– Branding Objects
Upload images (not PNG), CSS, HTML (JavaScript)
Creates App Designer managed definitions
– Accessible from iScripts
WEBLIB_PTBR.ISCRIPT1.FieldFormula.IScript_GET_JS?ID=…
WEBLIB_PTBR.ISCRIPT1.FieldFormula.IScript_GET_CSS?ID=…
WEBLIB_PTBR.ISCRIPT1.FieldFormula.IScript_GET_IMAGE?ID=…
New UX Tool Use Cases
News that did NOT make the top of the hour
Pagelet Wizard
– JavaScripts, images, and stylesheets in pagelets
– Images for pagelet icons
– Images for navigation collections
Pagelet Wizard Pitfalls
– Requires full iScript URL with remote pagelets
– URL site name may differ between dev/test/qa, etc, but part of a relative
Path Construction (Java 7’s Non-blocking IO)
News that did NOT make the top of the hour
REM ** file path construction;
Local JavaObject &pathsClass = GetJavaClass("java.nio.file.Paths");
Local string &fileBase = GetEnv("TMP");
Local JavaObject &testPath = &pathsClass.get(&fileBase,
CreateJavaObject("java.lang.String[]", "testfile.txt"));
REM ** prints /tmp/testfile.txt or c:\windows\temp\testfile.txt;
MessageBox(0, "", 0, 0, "Path to test: " | &testPath.toString());
Path Exists (Java 7’s Non-blocking IO)
News that did NOT make the top of the hour
REM ** file exists;
REM ** ++ NOTE: Use PeopleCode FileExists for files ++
Local JavaObject &filesClass = GetJavaClass("java.nio.file.Files");
Local JavaObject &linkOptions =
CreateJavaObject("java.nio.file.LinkOption[]");
Local boolean &exists = &filesClass.exists(&testPath,
&linkOptions);
MessageBox(0, "", 0, 0, "Test value should be false: " | &exists);
Move File Part I (Java 7’s Non-blocking IO)
News that did NOT make the top of the hour
REM ** create file -- not part of NIO, but necessary for example;
Local File &testFile = GetFile(&testPath.toString(), "A", "A",
%FilePath_Absolute);