Académique Documents
Professionnel Documents
Culture Documents
Application Designer is
an integrated development environment
Allows the PeopleSoft developer to focus on the relationships among the various
parts of a given application
provides unrivaled ease and flexibility during the entire development process
2
Integrated Development Environment (IDE)
The Application Designer window is divided into three main
areas:
Project Workspace
A graphical representation of the objects contained in a project.
Has two folder tabs representing the Development and Upgrade Views.
Object Workspace
The area where you create and modify object definitions.
Output Window
Contains various informational messages populated by the application after
certain operations are performed. (Ex. Build SQL - Create and Alter).
3
The Nine Steps of Application Development
Design the Application
Define Field
Record Definition
Build the SQL Table
Page Definition
Define Component
Create Menus
Enable Security
Test the Application
4
Field Definition
Fields are the basic building blocks in PeopleSoft system
5
Field Definition
Field Specifications
Field Type
Field Length
Field Labels
Field Format
Contd…
6
Field Definition
Field Types
Attachment
Contd…
7
Field Definition
Label Characteristics
Label ID
Long Name
Short Name
Default
Field Format
Format Type
Family Name
8
Field Definition
Value
Active
Effective Date
Long Name
Short Name
9
Field Definition
10
Definition
Special Fields
11
Record Definition
Sets of fields and associated attributes
Each field in a record definition has two sets of attributes
Field Attributes
Contd…
12
Record Definition
Contd…
13
Record Definition
Types of Record Definitions
SQL Table – Global default for new records (physical table in database)
Dynamic View – Similar to SQL View but not created on the database
14
Record Definition
The Display Views
Contd…
15
Record Definition
Creating New Record Defintion
Adding New Fields
Defining Keys
Defining Search Keys
Defining Alternate Search Keys
Defining List Box Items
Defining Default Constants
Defining Default Record-Field Values
Default Page Control
Defining Required Field
Defining Table Edits (Translate Table Edit, Yes/No Edit, Prompt Table Edit)
Save Record Definition
Contd…
16
Record Definition
After a new record definition is created, a
corresponding SQL application table must be created to
store the application data.
Build Settings
Create
Alter
Logging
Scripts
Contd…
17
Table names convention in SQL application
18
PS Pages
Pages are the graphical interface between your users and
your application database.
20
Toolbars
The toolbars in PeopleSoft Application Designer change, depending on the active window. When
a page window is active, you see the page definition toolbar and the page controls toolbar.
Page Properties
Project Workspace
Select Group
Default Ordering Button
Test Page button
HTML Browser button
Align Right button
Align Left button
Align Top button
Align Middle button
Align Bottom button
21
Page Control Toolbar
Group box.
Horizontal rule.
Static text.
Static image.
Check box.
Drop-down
List box.
Edit box.
HTML area.
Push button
Radio button
Secondary page
Sub page
22
Level Based Controls
Page design hinges on the type of data that you plan to access
and maintain.
A page refer to a single record definition or might refer to
multiple records.
To accommodate a variety of page designs, PeopleSoft created
level-based controls.
Grids
Scroll Areas
Scroll Bars
23
Levels - Overview
Level 0
This is the non-scrolling area that directly relates to the key information of the underlying
record. Level 0 information is usually display-only with data that the user entered on the
initial search page.
Levels 1— 3
These levels include the scrolling data that is related to the Level 0, non-scrolling data.
Level 1 is subordinate to Level 0;
Level 2 is subordinate to and nested in Level 1;
Level 3 is subordinate to and nested in Level 2.
You can nest level-based controls up to 3 levels.
24
Page Creation
Creating a Blank Page
To create a new page without copying an existing page, select File, New, Page.
Dragging Record Definitions Onto a Page
Repositioning and Resizing a Control Precisely With the Page Control Inspector
25
Setting Page Control Properties
26
Page Control Properties - Label
27
Page Control Properties - Use
28
Display Control and Related Fields
A related display field is for display purposes only
It always references a row that's not being updated from the
current page.
The display control and related display fields must both be
at the same level.
Because of the nature of control fields and related fields,
PeopleSoft recommends that you:
Place them side-by-side on a page to indicate their relationship.
Provide adequate space between the fields.
Do not overlap them; otherwise, they appear skewed when viewed through the browser.
Change the label type for the related field to None so that it doesn't appear on the page.
Enter a text description to document the purpose of the field.
The display control and related fields must be in the correct order on the order page.
The display control field must be positioned before the associated related field; otherwise, a
warning dialog box appears when you save the page.
Also, fetching the related field after the control field is entered requires a transmission to
the server at runtime.
29
Maximizing Performance
Page definitions permit controlled access to application data.
The system can validate the data, write it to the database, and
then retrieve and display it upon request.
Behind the scenes, the component processor
— People Tools runtime processor
— Builds SQL statements that are based on the actions that you
perform on pages.
30
Miscellaneous
Page Properties
Using Page controls
Frame
Radio buttons
Check boxes
Grids
Scroll Area
Sub pages
Secondary pages
HTML Area
Types of Pages
Secondary Pages
Sub Pages
31
Component
They are logical organization of related pages
33
Component Properties
Search Record
Controls access to rows of data in a table
Keys and Alternate Search Keys appear on the search page as
criteria
May also contain logic to refine the search to secure rows of data
(row-level security)
Search Page
Note: The search record for a component might differ from the primary
record definition for a page and might contain any number of search keys,
but it must contain all of the keys for each main level 0 record for a page.
34
Component Properties – Use Tab
Access
Detail page - Specify the page that you want for details
35
Component Properties – Use Tab
Actions
Disable Saving Page - Select when you want to hide the Save button in the
toolbar
Include in Navigation - Select to include the component in the menu
navigation at runtime
36
Component Properties – Internet Tab
Primary Action - Select the default mode by which the user
accesses the associated page. Select New for Add mode.
Default Search Action - The default search action
determines the default that users see, but they can select
another option from the toolbar at runtime.
Default Search/Lookup Type - Select Basic or Advanced.
The basic search page provides a choice of which field to
search (either the primary and alternate search keys).
Allow Action Mode Selection - Select to display the Include
History and Correct History check boxes on a search page.
37
Component Properties – Internet Tab
Link to Access Add Page - Specify the message set
and number to display on an Add page
Link to Access Search Page - Specify the message
set and number to display on an Search page
Instructional Text - This is set to display the "Find
an Existing Value" heading on the search page
38
Component Properties – Internet Tab
Processing Mode
Interactive - Select to send messages to the server whenever logic must be run.
When the user presses Tab to exit a field level event, a transmission to the
application server occurs to run that field-level event and the page is refreshed.
Deferred - This is the default processing mode. This mode reduces
transmissions to the application server.
Allow Expert Entry - This is available for both processing modes
Multi-Page Navigation
Display Folder Tabs – Select to display the page names as tabs in the component
Toolbar
Select all the required buttons to be displayed in the delivered toolbar.
39
Component Buffer
When you open any page in a component, the system retrieves
all of the data records for the entire component and stores them
in one set of record buffers, organized by scroll level and then by
page level. This component buffer consists of rows of buffer
fields that hold data for the various records that are associated
with page controls, including the primary records, related
display records, derived work records, and translate table
records.
You can change the records in memory either through the user
actions on the page or through PeopleCode that is associated
with different page controls. At runtime, you open and save the
entire component, not just individual pages. When you save any
page in the component, you automatically save the whole
component
40