Documente Academic
Documente Profesional
Documente Cultură
A component represents a complete business transaction. It comprises either a single page or a set of
pages that are meant to be processed as one. After you create pages, you add them to one or more
components to access them through menus or in business processes.
This section discusses:
i What component definitions manage.
i The component buffer.
À
omponent definitions manage:
i Grouping of pages and their associated tab labels.
i Search records that are used to retrieve data for the page.
i Access keys for folder tab navigation.
i Links at the bottom of a page.
i The toolbar at the bottom of a page.
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 u
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
Peopleode that is associated with different page controls. At runtime, you open and save the entire
component, not just individual pages. When you save page in the component, you automatically save
the whole component.
S
weferencing Data in the omponent Buffer
This section provides an overview of the component definition window and discusses how to:
i reate a new component definition.
i Open an existing component definition.
i Add pages to components.
i weorder pages in a component.
i opy or move pages to another component.
i Set page attributes.
c
À
When you design pages of a component, the pages should share the same level 0 key structure because
they share the same search record.
Depending on the complexity of the component, the system may take longer to display the first page than
to display other pages in the component (or even redisplay the first page) because it is loading records for
the entire component.
The component definition window has two tabs, Definition and Structure, that provide different views of a
component.
S
The structure view shows records and scrolls in a tree representation. It provides information about page
levels and component records and their roles. You can double-click the objects in this view to open their
definitions.
You can view the Peopleode that is attached to any of the components by right-clicking and selecting
the View Peopleode option from the pop-up menu. The Peopleode Editor opens directly in the
workspace, displaying the related Peopleode.
The Structure tab only displays the runtime state of the Peopleode. That is, it only displays record
field Peopleode. For example, Peopleode programs that are orphaned as a result of a page definition
change do not appear in the Structure tab. On the other hand, these orphaned Peopleode programs do
appear in the Peopleode Editor, which displays the design-time view of Peopleode.
A key icon appears next to all key and alternative search key fields in the component structure view.
To create a new component definition:
1. With a new or existing project open in PeopleSoft Application Designer, select File, New.
2. Double-click omponent.
The new component definition appears in the workspace.
When saving a component definition, make sure to adhere to the accepted naming conventions for
PeopleSoft definitions.
See Saving Definitions.
To open an existing component definition:
1. Select File, Open.
2. Select omponent as the type.
3. Specify the selection criteria.
The component definition appears in the workspace.
This section discusses how to:
i Use the Insert menu to add a page.
i Drag a page into the component.
The system does not allow you to move or delete all pages from a component definition. The
component must contain at least one page definition.
To drag a page into a component:
1. Open the project and component.
2. Drag pages from the project workspace to the component.
After you add pages to your component, you can change the order in which they appear in the
component.
×oving a page in a component
! "
After you create a component, you can copy or move pages from one component to another.
The system does not allow you to move or delete all pages from a component definition. The
component must contain at least one page definition.
Displays the read-only name of the page definition. If you rename the page, this column is
updated automatically.
When creating page definitions, you might want to use similar names to make them easily
recognizable as a group of pages. For example, if you create three pages to hold the
information for the Personal Data Table, the page names might be:
PEwSONAL_DATA1
PEwSONAL_DATA2
PEwSONAL_DATA3
Displays a name for each page in the component. This name must be unique in the
component, and the default is the page name. This name is for informational purposes
only. If you use the same page on more than one component, you might want to change
the item name to reflect the purpose of the page in the component.
# Specifies whether the page can be viewed by the user at runtime. Pages are usually
hidden when they are used in work groups or associated with derived work records. For
example, information from a page might need to be loaded into the buffer for Peopleode
to perform calculations, but the user does not need to see it.
×arking the page as hidden also hides the toolbar, including the Save button, even
if you choose to display the page by means of another method, such as the Transfer
Peopleode function.
$ Serves as the default folder tab label, unless a different label is specified. The item label
should be unique for each page in a single component menu. The folder tab label is
usually used when shorter names are needed for folder tabs.
In the preceding example (BANK_AOUNT.GBL), for the first page in the component,
the same text appears on both the folder tab and the component menu. The second and
third pages have different menu names and folder tabs.
% Displays the text that appears on the folder tab label. If no text is specified, the text of the
$ item label is used on the folder tabs.
Indicates whether deferred processing is active for that page in its property settings.
At runtime, the user can navigate between pages by pressing ALT, plus the letter that is underlined,
followed by ENTEw.
'
PeopleSoft Application Designer includes a validate utility to verify the integrity of a component. The
validate utility runs a series of tests on components to check that the component will operate properly at
runtime and sends the results to the Validate tab in the output window.
To validate a component:
1. Open the desired component definition.
2. Select Tools, Options, Validate, and make sure that Validate PeopleSoft Internet Architecture
Execution is selected.
This option must be selected for the validate tests to be invoked.
S
Setting PeopleTools Options
Validating Projects
×arket-specific components are independent of system-side language settings and are accessible to any
user who has security access to the component. This makes it possible for an English-speaking user in
New York, for example, to perform a procedure for hiring an employee in Brazil.
Access the market setting of a component using the Peopleode %×arket system variable.
onsequently, you can maintain a single set of Peopleode programs for a set of market-specific
components and build conditional logic into the Peopleode programs that run only in components that
have specific market settings.
S
%×arket
À
c
The Find Definition weferences feature enables you to generate a list of the menus in the database that
reference a specific component; that is, a list of the menus in which the component is used. You can
invoke this feature from either the project workspace or the workspace. Select Find Definition weferences
from the Edit menu.
S
Finding Definitions
S
In the omponent Properties dialog box, specify the update and data entry actions; on the Use tab,
specify the search record information. You can also save notes about the component on the General tab.
Use the Internet tab to set attributes that affect how the component appears in the browser at runtime.
This section discusses how to:
i Open the omponent Properties dialog box.
i Set general properties.
i Set use properties.
i Set internet properties.
To open the omponent Properties dialog box:
1. Open the component definition.
2. Select File, Definition Properties.
The omponent Properties dialog box appears with the General tab active.
$ View the date and time of the last modification made to the component and the name of the
c
user who made the modification.
To see a subset of search records, type a few characters first. The drop-down list box is populated
with a list of all record definitions with names that begin with those characters. This reduces access time
and enables you to find specific records faster.
Select to add a new high-level key, such as a new employee ID or customer. Except in
the case of effective dating, Add is used to insert a new current row or to update future
rows.
c
+
! Select to update existing rows only.
c
+
! Select to update current and future rows in an effective-dated record. Use only with
effective-dated records. Do not use these actions unless the main record that is
associated with the page definitions is effective-dated. This is translated to include
history at runtime.
Select to update any rows (history, current, and future) in an effective-dated record.
Use only with effective-dated records. This is translated to correct history at runtime.
S" Select when you want to hide the Save button in the toolbar and disable the ALT+1
(Save) hot key. This prevents the user from being prompted to save when exiting a
page. However, it doesn¶t prevent using Peopleode to save a page with the DoSave()
or DoSaveNow() functions. This can be helpful for applications in which the user isn¶t
making database changes and doesn¶t need to be prompted to save.
Select to include the component in the menu navigation at runtime. The default is
" selected. If you do not want the component included, clear the check box.
! S
Select to ensure that spell check is run on all eligible spell check enabled fields in the
( component when the user saves the page. A field is eligible if it has been changed (or
its weEdit set) and it has not already been manually spell checked since it was last
changed.
If you must add a new high-level key, such as a new employee number or customer, select both
Add and Update/Display. If you are adding information to an existing high-level key, such as adding
education data for an employee, select only Update/Display. You're not adding a new employee ID²it
already exists on the database.
) $
This section applies to Windows client applications only.
To partition application processing between the client and the application server, you must define units
that, as a whole, run in one location or the other. We call these units
u
Processing
groups can encompass one or more Peopleode events.
Specify where you want all processing to occur after the key list of a page is selected and
before the user can interact with the page. This includes building component buffers and
running many types of Peopleode.
Specify where you want all processing to occur after the user saves the component and
S" SaveEdit Peopleode validations have succeeded. It includes SavePrehange,
WorkFlow, and SavePosthange Peopleode and updates to the database.
S
! Select the default mode by which the user accesses the associated page. Select
New for Add mode. Select Search to use the action that is specified in the
Default Search Action drop-down list box.
Specify where you want all processing to occur after the key of a page is
selected and before the user can interact with the page. This includes building
component buffers and running many types of Peopleode.
S Select from a list of the actions that you set in the Actions group box on the Use
tab of the omponents Properties dialog box. If you set only one action, this
drop-down list box provides that choice as the default. The default search action
determines the default that users see, but they can select another option from
the toolbar at runtime.
S +$(
Select Basic or Advanced.The basic search page provides a choice of which
!
field to search (either the primary and alternate search keys). PeopleSoft
recommends using the basic search page for new users because it is easier to
understand. If you select Advanced, the advance search page is the default.
The search and lookup type applies to the search page and all of the lookup
pages in the component.
Select to display the Include History and orrect History check boxes on a
S search page. If the user selects Include History on a search page, the page
appears in Update/Display All mode. If the user selects orrect History, the
page appears in orrection mode. However, both of these check boxes appear
only on the search page if Update/Display All and orrection were selected as
actions in the Use properties for the component and the user has security
access to the modes. This check box is selected by default.
$ ( Specify the message set and number to display on an Add or Search page.
and$ (
S
This is set to display the Find an Existing Value heading on the search page.
You can change the default message or redirect the component to use another
message that is more appropriate for your use.
Select the toolbar actions that you want to display on the component pages. When you select a check
box, that item appears as a toolbar button at the base of the component at runtime. All toolbar actions are
set to display by default with the exception of Next Page in omponent , Previous Page in omponent
and Notify. Note that the default settings for the Action and Save buttons are impacted by settings on the
Use tab of the omponent Properties dialog box.
Disabling any of the toolbar options also disables the hot key for that option in the PeopleSoft Pure
Internet Architecture.
S" Adds a Save, OK, or Apply button to the toolbar, depending on the
page type.
For modal components only. learing this box removes the ancel
button from the toolbar.
S
( wuns spell check for all spell check enabled fields in the
component, regardless of whether any changes have been made
to the field.
$ weturns user to the search page.
$ and " $ Populates the page with the next or previous row of data from the
database as shown on the Search page.
and Opens the next or previous page in the component if there is more
"
than one page.
wedisplays the page without saving any entered data.
! Enables the user to send a notification to other users.
' À( Enables the user to view the worklist from the current component
page.
À( and " Enables the user to access the next or previous item in the
À( worklist.
, c
+
!, Select each to enable these toolbar buttons for this component.
c
+
! , and
See Setting Use Properties.
Select if you do not want to display the toolbar on the component
pages.
) "
! % Select to display folder tabs at the top of the component page.
! #!
( Select to display links at the bottom of the component page.
" 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.
Selected as the default. This mode reduces transmissions to the application server.
See Understanding Processing Modes.
This is available for both processing modes.
!
See ½nabling the ½ pert ½ntry Feature.
ÀS
Select WSwP ompliant to enable the component for WSwP publishing. If the component is enabled for
WSwP publishing the component can be rendered, in-line, within the WSwP consuming portal.
If the component is enabled for WSwP, when a user navigates to the component from within a WSwP
portlet, the system directs the user to the PeopleSoft Portal, which loads the component. That is, the user
has effectively left the WSwP consuming portal page and navigated to the PeopleSoft system.
This option enables you to distinguish between components that are known to function only in the
PeopleSoft Portal and those that are WSwP compliant.
The pagebar is a small menu bar that displays at the top of each component page just below the
universal navigation header. You can select which options display to the user for each component. All
options are selected by default. Select the Disable Pagebar check box to disable the pagebar altogether.
# $ ( Opens the online help PeopleBook entry for the current page.
! c $ opies the current page UwL to the clipboard. The copied UwL includes page, action, and
$ ( search key information to display in the context of the portal, if the user passed through the
portal. If the user did not pass through the portal, then only the page displays without the
portal frames.
This option adds a small http button to the pagebar.
À Opens a new browser window with the search page for the current component. Users can
$ ( view or enter data in the new window.
- Opens the Page ustomization page which allows the user to control the initial display of
$ ( the component. This option enables the user to:
Select the initial page in the component to be displayed.
Save the state of the expanded and collapsed sections.
Save the state of the View All settings on the page for grids and scroll areas.
ustomize the page field tabbing order.
Users can also elect to copy and share their settings for the component with other users.
If you set this option for a particular component, all users accessing the component
are able to customize the pages in the component unless their personalization options
prevent them from customizing pages. Security permission list settings or personalization
options do not allow the option to be enabled or disabled per end user per component.
You can also enable or disable any of these options using Peopleode.
See Page lass.
-
In order for the page customization option to display to the user, in addition to the selection of the Page
ustomization Link in the Pagebar, certain criteria must be met:
i A PeopleSoft Pure Internet Architecture page, including search and secondary pages, must be
displayed to the user.
i The page cannot be a PeopleTools generated page, such as the Page ustomization page or the
ustomize olumn and Sort Order page for grids.
i The current page is not an iScript.
i The ustomize Pagelink cannot be hidden using Peopleode for the current component.
i The ustomize Page Settings, USTO×PGSET, personalization option on the Define
Personalizations page must be enabled.
This option is enabled by default. If this option is disabled, the end user cannot define, share, or
copy page customizations and all existing page customizations for the user are deleted.
i The current page must allow some form of personalization, based on the end users security
profile and meeting
of these conditions:
å Display more than one page element with a TABINDEX >=1 supporting customization
(assume that all collapsible sections are expanded when determining visibility).
å ontain at least one visible scroll area or grid with a visible View All link, enabled or
disabled.
å ontains at least one visible collapsible section.
S S
This section provides an overview of search records and discusses how to:
i reate a search record.
i Override a search record.
Search page with search keys, alternate search keys, and list box items
When you select a row from the list box, the runtime system generates a second query to fill the level 0
row in the component. The runtime system examines the level 0 record for the component and checks its
key fields. It tries to retrieve level 0 key field values from the fields in the list box and uses those values in
the WHEwE clause used to populate the level 0 record.
The search record for a component might differ from the level 0 record definition for a component and
might contain any number of search keys and list box items, but it must contain all of the key fields that
are in the level 0 record for a component.
See Setting wecord Field Use Properties.
When you add page items that are based on derived work records, do not select that record
definition as the search record. Instead, select a record definition that stores the primary key or a SQL
view that searches for the criteria that best enables users to identify the rows that they want to retrieve.
The search record might also contain logic to refine the search and limit rows of data. PeopleSoft
applications implement data permission (or row-level) security in this way.
If you are configuring menus in an existing PeopleSoft application, the easiest way to decide which
search record to use is to look at the other search records that are used on the same menu. Look for
pages with similar key structures and then evaluate the search records to see if any are suitable. You
might want to print the PeopleTools ×enu Listing cross-reference report (XwF×ENU) to review which
search records are used for pages and gain a better understanding of how search records are assigned
in the application.
S
To create a search record:
1. reate the record definition and add the fields.
See reating a New wecord.
2. Select the key fields, search key fields, and list box items.
See Setting wecord Field Use Properties.
3. If the record is a view, write the SQL statement in the SQL editor.
See reating SQL View and Dynamic View Select Statements.
4. Save and build the record definition.
See wunning the Build Process.
" S
You might want to reuse a component, changing only its search record.
You can accomplish this by
the component search record at the time that the component is
invoked from a menu. To override a component search record, specify a different search record in the
properties of the menu item that invokes the component. The component uses the override search record
when it is invoked from that specific menu item; the search record set in the component properties
remains unchanged.
By reusing components in this way, you can limit redundancy, keeping your application smaller and
easier to maintain.
S
SetSearchDialogBehavior
×essage sets and number settings come from the PeopleTools message set catalog.
To access the message catalog:
1. Select PeopleTools, Utilities, Administration, ×essage atalog.
2. On the search page, enter the message set number that you want to access.
omponent definitions support messages between 0 and 99,999.
3. lick Search to access a message catalog page.
4. Enter the message set and number on the Internet tab of the omponent Properties dialog box.
For example, enter message set and number 124 and 50 to display the Find an Existing Value
message on the search page in the browser.
À Users who modify component properties from interactive mode to deferred mode or select the
Allow Expert Entry check box should understand that this is an adaptation of the software, and, as such,
they are responsible for thoroughly testing and supporting this change.
The Expert Entry feature enables you to specify whether a wefresh button should be included on the
component toolbar when the page is displayed. The wefresh button forces a transmission to the server to
determine which fields have changed since the last transmission to the server and to run any processing
logic that is associated with those changes.
Users can also refresh by pressing the ALT+0 hot key, which keeps the cursor in the same field when the
page is refreshed. One can refresh any time during data entry to enable an
user to:
i Update related display field values for the data that is already entered.
i wecalculate totals and balances.
i Provide defaults based on prior data that was entered on the page.
i Validate the data that has been entered on the page so far.
i Invoke the code to hide or gray items associated with specific fields.
#, The user must click the wefresh button after entering a value in a field that is associated
c , with Peopleode associated that hides, unhides, grays, or ungrays other fields on the
*!, and same page.
c !
) The user must click the wefresh button after entering a value in a field that is a high-order
key that is used to control the values in a drop-down list box.
Whenever expert entry is properly enabled and selected by the user at runtime, the
" transaction runs in deferred mode. As such, defaults, totals, balances, and related displays
are not updated until the next transmission to the application sever (for example, when the
user clicks a button, icon, link, or another tab). If the user wants the page updated before
then, the user must click the wefresh button.