Top Banner

of 29

Translate Table

Apr 07, 2018

Download

Documents

Nandhini Durai
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • 8/6/2019 Translate Table

    1/29

    IBM Rational Software Development Platform

    WPAI: Creating and Enabling the Translate

    Table Interface, WPS_XLATTABLE

    Mark Benge/Durham/IBM@IBMUS03/04/2005

  • 8/6/2019 Translate Table

    2/29

    IBM Rational Software Development Platform 2

    Table of Contents

    INTRODUCTION............................................................................................................. 3

    CREATE PEOPLESOFT COMPONENT INTERFACE ............................................ 3

    CREATE THE TRANSLATE TABLE CI................................................................................. 3

    ASSIGN PERMISSIONS TO THE CI ......................................................................... 17

    CREATE A PERMISSION LIST........................................................................................... 17ASSIGN THE PERMISSION LIST TO A ROLE...................................................................... 22

    TEST THE COMPONENT INTERFACE................................................................... 24

    TEST WPS_XLATTABLECI ....................................................................................... 24

  • 8/6/2019 Translate Table

    3/29

    IBM Rational Software Development Platform 3

    Introduction

    The document provides a step-by-step guide of how to create and test the

    component interface, WPS_XLATTABLE, which WPAI uses to obtain a listing of all

    component interfaces on a PeopleSoft server. Note: PeopleTools 8.44 is used in thisexample.

    Create PeopleSoft Component Interface

    Create the Translate Table CI1

    Log in to the PeopleTools 8.44 Application Designer, using the Administratoraccount

    2

    Go to File Newo In the New Definition dialog, select Project, then click the OK button

    1CI Component Interface

    2User: PS, and password: PS

  • 8/6/2019 Translate Table

    4/29

    IBM Rational Software Development Platform 4

    Go to FileNewo In the New Definition dialog, select Record, then click the OK button

    Go to FileOpeno In the Open Definition dialog, select Record in the Definition field, and

    enterXLATTABLE_VWin the Name field, and then click the Open button

    and answer Yes when prompted to open the record as read-only.

  • 8/6/2019 Translate Table

    5/29

    IBM Rational Software Development Platform 5

    Drag the FIELDNAME, FIELDVALUE, EFFDT, EFF_STATUS,XLATLONGNAME, and XLATSHORTNAME fields from theXLATTABLE_VW Record window to the new record window

  • 8/6/2019 Translate Table

    6/29

    IBM Rational Software Development Platform 6

    Double clickFIELDNAME, enable the Search Key attribute, and click OK.Repeat this step for FIELDVALUE.

    Double clickEFFDT and disable the Descending Key attribute (not shown). Click the Record Type tab and select Dynamic View

  • 8/6/2019 Translate Table

    7/29

    IBM Rational Software Development Platform 7

    o Click the Click to open SQL Editor button and save the record as shownbelow.

    o Add the SQL as shown, and then close the SQL Definition Window.

  • 8/6/2019 Translate Table

    8/29

    IBM Rational Software Development Platform 8

    o Close the Record Window and save your changes (not shown). Go to FileNew

    o In the New Definition dialog, select Page, then click the OK button

  • 8/6/2019 Translate Table

    9/29

    IBM Rational Software Development Platform 9

    Go to FileOpeno In the Open Definition dialog, select Record in the Definition field, and

    enter WPS_XLAT_VWin the Name field, and then click the Open button

    Drag the FIELDNAME, FIELDVALUE, XLATLONGNAME, andXLATSHORTNAME fields from the WPS_XLAT_VW Record window to the

    Page window

  • 8/6/2019 Translate Table

    10/29

    IBM Rational Software Development Platform 10

    Go to FileSave3o Enter WPS_PAGE_XLATin the Save Name As field, and then click the

    OK button

    Go to FileSave Project Aso In the Save Project Name As field, enter WPS844_CI, and then click theOK button

    3Make sure that the Page window gets the focus

  • 8/6/2019 Translate Table

    11/29

    IBM Rational Software Development Platform 11

    o Add the WPS_PAGE_XLAT page and WPS_XLAT_VW record to theWPS844_CI project by selecting each window and pressing F7. Go to

    FileSave All to update the project.

    Go to FileNewo In the New Definition dialog, select Component, then click the OK

    button

  • 8/6/2019 Translate Table

    12/29

    IBM Rational Software Development Platform 12

    Go to InsertPage into Component

    In the Insert Page dialog, enter WPS_PAGE_XLATin the Name field, click theInsert button, then click the Close button

  • 8/6/2019 Translate Table

    13/29

    IBM Rational Software Development Platform 13

    Go to FileSaveo Enter WPS_XLATTABLEin the Save Name As field, then click the OK

    button

  • 8/6/2019 Translate Table

    14/29

    IBM Rational Software Development Platform 14

    When prompted with the message Search record is required, click the OKbutton

    In the Search record field, enter WPS_XLAT_VW, then click the OK button

  • 8/6/2019 Translate Table

    15/29

    IBM Rational Software Development Platform 15

    Go to FileSave4o Enter WPS_XLATTABLEin the Save Name As field, then click the OK

    button

    o Add the WPS_XLATTABLE component to the WPS844_CI project byselecting the component window and pressing F7.

    Go to FileNewo Select Component Interface as the New Definition, and then click the

    OK button

    In the Name field, enter WPS_XLATTABLEI, and then click the Select button

    4Its a required repeat of the preceding step

  • 8/6/2019 Translate Table

    16/29

    IBM Rational Software Development Platform 16

    When prompted to default the properties based on the underlying Componentdefinition, clickYes

    Go to FileSave, enter WPS_XLATTABLE_VWin the Save Name As field, andthen click the OK button

    o Add the WPS_XLATTABLE_VW component interface to the WPS844_CIproject by selecting the component interface window and pressing F7.

  • 8/6/2019 Translate Table

    17/29

    IBM Rational Software Development Platform 17

    Go to FileSave All to update the WPS844_CI project with the component andcomponent interface changes you just finished.

    Assign Permissions to the CI

    Create a Permission List

    Access the PeopleSoft 8 PIA5 on your PeopleSoft server using theAdministrator account: PS/PS, and click the Sign In button.

    5PeopleSoft Internet Architecture

  • 8/6/2019 Translate Table

    18/29

    IBM Rational Software Development Platform 18

    In the tree view menu, select PeopleToolsSecurity Permissions &RolesPermission Lists

    In the Permission Lists panel, click the Add a New Value tab

  • 8/6/2019 Translate Table

    19/29

    IBM Rational Software Development Platform 19

    In the Permission List field, enter WPS_PERM, and then click the Addbutton

    In the Description field, enter WPS CI Permission (optional)

  • 8/6/2019 Translate Table

    20/29

    IBM Rational Software Development Platform 20

    Click on the Component Interfaces tab

    Enter WPS_XLATTABLE_VWin the Name field, and then click the Edit link

    Click the Full Access (All) button

  • 8/6/2019 Translate Table

    21/29

    IBM Rational Software Development Platform 21

    Click the OK button

    Click the Save button

  • 8/6/2019 Translate Table

    22/29

    IBM Rational Software Development Platform 22

    Assign the Permission List to a Role

    In the tree view menu, select PeopleToolsSecurityPermissions &RolesRoles

    In the begins with field, enter EMPLOYEE, then click the Search button

    Select the Permission Lists tab

  • 8/6/2019 Translate Table

    23/29

    IBM Rational Software Development Platform 23

    Click the Plus (+) sign at the bottom of the page

    Enter WPS_PERMin the field, then click the Magnifier button

    Under the Search Results, click the WPS_PERM field

    Click the Save button

  • 8/6/2019 Translate Table

    24/29

    IBM Rational Software Development Platform 24

    Testing the Component Interface

    Test WPS_XLATTABLE_VW CI

    Log in to the PeopleTools 8.44 Application Designer, using the Administratoraccount6

    6User: PS, and password: PS

  • 8/6/2019 Translate Table

    25/29

    IBM Rational Software Development Platform 25

    Go to FileOpeno Select Component Interface from the Definition field, enter

    WPS_XLATTABLE_VWin the Name field, then click the Open button

  • 8/6/2019 Translate Table

    26/29

    IBM Rational Software Development Platform 26

    Right click on the component interface, and then click the Test ComponentInterface

    7

    7When the Component Interface Tester window opens, its in a minimized state. Just click the icon on the

    Windows taskbar to bring it up.

  • 8/6/2019 Translate Table

    27/29

    IBM Rational Software Development Platform 27

    Click the Find buttono Click OK when the following message box appears.

  • 8/6/2019 Translate Table

    28/29

    IBM Rational Software Development Platform 28

    After making a selection, click the Get Selected buttono The following row for the selected value appears.o

    Close the Component Interface Tester when you are finished

  • 8/6/2019 Translate Table

    29/29