SlideShare uma empresa Scribd logo
1 de 22
COMPONENT INTERFACE

          By,
           Mr. Srinivas.
What is Component Interface?

 A means to access the PeopleSoft application without using the
  PeopleSoft pages.

 It exposes a PeopleSoft component for synchronous access from
  external application(peoplecode,c/cpp, java).

 External applications need not be concerned with the details of page
  structures and component definitions in order to access the underlying
  data and business logic through component interfaces.
Architecture of Component Interface
Architecture(Contd..)

Fundamental elements to the component interface architecture.


• Components
• Component Interface
• Component Interface API
Elements of ComponentInterface

Every component interface has the following four main attributes
 1)Name
 2)Keys
    GetKeys
    Findkeys
    CreateKeys
   Generated in CI when the Use tab on the Component Properties dialog allows
  the Add action
Elements of ComponentInterface(contd…)

3) Properties and collections (fields and records)
      Provide access to both component data and component interface settings.
     Two types of properties: Standard and User-defined.
    • Standard properties can be set to true or false.
         Examples : InteractiveMode, GetHistoryItems, EditHistoryItems.
Userdefined methods

•   User-defined properties map to record fields on the PeopleSoft component and
    are displayed in the PeopleSoft Application Designer.

•    A component interface collection is a special type of property that corresponds to a
    scroll.

4)Methods
• A method is a function that performs a specific task on a component interface at runtime.


•   Two main types of methods: standard and user-defined.
Standard methods

•   Standard methods are those that are available for all component interfaces.
        1.Cancel: Cancels any changes made since the last save.
        2.Create: Creates new instance of CI
        3.Find :Performs partial key search on the particular instance of the CI
    using search key at level zero.
        4.Get :Retrieves a particular instance of CI.
        5.Save : Saves an instance of the CI.
        6.GetPropertyByName:Returns the value of the property specified by name.
        7.SetPropertyName: Sets the value to the property specified by name.
Userdefined Methods

•Those that you can create to meet the requirements of an individual component
interface.

•A method is simply a PeopleCode function that you wish to make accessible through
the component interface

• Each method maps to a single People Code function

•The Component Interface object, instantiated from a session object, is created at
runtime as a way to access the data specified by the Component Interface.


              &oSession = %Session;
           &oSIdn1Ci = &oSession.GetCompIntfc(CompIntfc.S_IDN1_CI);
•   When you populate a Component Interface with data, the first thing you fill out
    are its keys, as you would in a component. These can be keys for getting an
    existing instance of the data or for creating a new instance of the data.

•   Component Interface properties provide access to the data in a component
    buffer.

•   Component Interface methods are functions that can be called to perform
    operations on a Component Interface.


•   Component Interface can map to only one component.

•   A component can have any number of CIs.
Component Interface Definition
Developing & Implementing CI

Design
 Define Fields
 Record Definition
 Build Record
 Defines Pages
 Define Components
 Define the Component Interface
 Link the Component to the Menu
 Authorize User Access (Security)
 Test your Component Interface
•   A component interface is a PeopleTools object that you create in Application
   Designer.
• Add individual objects, or groups of objects, to the component interface by
   dragging objects from the component view into the component interface view.
Creating & Working with a CI

 To create a new component interface
 Select File, New from the Application Designer menu.
   Select the Component Interface object type from the New dialog.
   Select the component on which this component interface will be based.
   Save the component interface.
   Add properties, collections, or methods to the component interface.
   Set the security.
   Test the component interface.
Working with Component Interface

Declaring a Component Interface Object
 Component Interfaces are declared as type ApiObject. For
  example: Local ApiObject &TESTCI;

Scope of a Component Interface Object
 A Component Interface can be instantiated from PeopleCode, from a Visual
  Basic program, from COM and C/C++.

 Variables defined at Component and Global are only for Component Interface
Example

   In this example, you are getting an existing instance of data for the EMPL_CHECK_CI
    Component Interface, which is based on the EMPL_CHECKLIST component, for the
    Update/Display mode.

Local ApiObject &TESTSESSION;
Local ApiObject &TESTCI;
&TESTSESSION = GetSession();
&TESTSESSION.Connect(1, "EXISTING", "", "", 0);
&TESTCI = &TESTSESSION.GetCompIntfc(COMPINTFC.EMPL_CHECK_CI);
&TESTCI.EMPLID= "8001";
&TESTCI.Get();
/* Get checklist Code */
&CHECKLIST_CD = &TESTCI.CHECKLIST_CD;
/* Set Effective date */
&TESTCI.EFFDT = "01-01-1990";
Component Interface
    Working with a CI – Setting Security
   Two ways to Secure Component Interfaces
    1) Can be used to restrict access to individual methods or entire Component Interface
Setting Security(contd..)

2)Application Designer
    • To make individual property =Read Only‘
Using the CI Tester
Using the CI Tester(contd..)

•   Specify whether to run in Interactive mode.
     In noninteractive mode, if you set a property, the property is not validated
    until you perform the save. However, in interactive mode the property is
    validated immediately.

•   Specify whether to get or edit history items.
    Selecting Get History Items retrieves history data
    Selecting Edit History Items enables editing and saving of history data.
     These options apply to effective-dated fields only
Runtime considerations

  WinMessage Unavailable
    You cannot use WinMessage in a component that will be used to build a
component interface. Use MsgGet() instead.
 Email from a Component Interface
      To use a component interface to send email, use TriggerBusinessEvent
People Code event, not SendMail.
 Related Display
     Related display fields are not available for use in a component interface
  as they are not held in the buffer context that the component interface uses.
 Row Inserts
   If RowInserts have been disabled for a page, you must take care when
 calling inserts against the corresponding component interface.

•    Any PeopleCode associated with push buttons used on the page to add
    rows will not be invoked by the component interface when an insert is
    done.
Benefits of CI

 Access to all business logic


 Delivered PeopleSoft logic


 Your customizations Insulated from complexities of application


 Data relationships


   Data Integrity

 Upgradeable PeopleTools object


 Result: Saves Time & Money
Thank you

Mais conteúdo relacionado

Mais procurados

Creating xml publisher documents with people code
Creating xml publisher documents with people codeCreating xml publisher documents with people code
Creating xml publisher documents with people code
Randall Groncki
 
People soft application-designer-practice-8.43
People soft application-designer-practice-8.43People soft application-designer-practice-8.43
People soft application-designer-practice-8.43
cesarvii
 
Welcome to people soft payroll for north america
Welcome to people soft payroll for north americaWelcome to people soft payroll for north america
Welcome to people soft payroll for north america
meghamystic
 
Oracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table OverviewOracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table Overview
Chris Martin
 

Mais procurados (20)

Peoplesoft technical consultant interview questions
Peoplesoft technical consultant interview questionsPeoplesoft technical consultant interview questions
Peoplesoft technical consultant interview questions
 
XMLPublisher
XMLPublisherXMLPublisher
XMLPublisher
 
React new features and intro to Hooks
React new features and intro to HooksReact new features and intro to Hooks
React new features and intro to Hooks
 
Peoplesoft Query Overview
Peoplesoft Query OverviewPeoplesoft Query Overview
Peoplesoft Query Overview
 
Creating xml publisher documents with people code
Creating xml publisher documents with people codeCreating xml publisher documents with people code
Creating xml publisher documents with people code
 
People soft application-designer-practice-8.43
People soft application-designer-practice-8.43People soft application-designer-practice-8.43
People soft application-designer-practice-8.43
 
Welcome to people soft payroll for north america
Welcome to people soft payroll for north americaWelcome to people soft payroll for north america
Welcome to people soft payroll for north america
 
How to debug a fast formula
How to debug a fast formulaHow to debug a fast formula
How to debug a fast formula
 
Oracle Core HR with Screen Shots
Oracle Core HR with Screen ShotsOracle Core HR with Screen Shots
Oracle Core HR with Screen Shots
 
Document of Record
Document of  RecordDocument of  Record
Document of Record
 
Fast formula in Fusion Cloud HCM
Fast formula in Fusion Cloud HCMFast formula in Fusion Cloud HCM
Fast formula in Fusion Cloud HCM
 
User hook implemantation sample example
User hook implemantation  sample exampleUser hook implemantation  sample example
User hook implemantation sample example
 
Oracle report from ppt
Oracle report from pptOracle report from ppt
Oracle report from ppt
 
React hooks
React hooksReact hooks
React hooks
 
Oracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table OverviewOracle HRMS Payroll Table Overview
Oracle HRMS Payroll Table Overview
 
vb.net Constructor and destructor
vb.net Constructor and destructorvb.net Constructor and destructor
vb.net Constructor and destructor
 
Oracle Personalization How To Restricting users from assigning items to diffe...
Oracle Personalization How To Restricting users from assigning items to diffe...Oracle Personalization How To Restricting users from assigning items to diffe...
Oracle Personalization How To Restricting users from assigning items to diffe...
 
DBI database Items Query Oracle Fusion Cloud
DBI database Items Query Oracle Fusion CloudDBI database Items Query Oracle Fusion Cloud
DBI database Items Query Oracle Fusion Cloud
 
Absence management in oracle HRMS
Absence management in oracle HRMSAbsence management in oracle HRMS
Absence management in oracle HRMS
 
Oracle Web Adi For upload item master
Oracle Web Adi For upload item masterOracle Web Adi For upload item master
Oracle Web Adi For upload item master
 

Destaque

Presentation2
Presentation2Presentation2
Presentation2
JAYAARC
 
Peoplesoft PIA architecture
Peoplesoft PIA architecturePeoplesoft PIA architecture
Peoplesoft PIA architecture
Amit rai Raaz
 
App designer2 in peoplesoft
App designer2 in peoplesoftApp designer2 in peoplesoft
App designer2 in peoplesoft
Venkat Jyesta
 
Chart Components
Chart ComponentsChart Components
Chart Components
wmassie
 
People soft base benefits
People soft base benefitsPeople soft base benefits
People soft base benefits
meghamystic
 
IntegrationBroker
IntegrationBrokerIntegrationBroker
IntegrationBroker
meghamystic
 

Destaque (16)

Devi
DeviDevi
Devi
 
Setids
SetidsSetids
Setids
 
SDLC
SDLC SDLC
SDLC
 
PPT1
PPT1PPT1
PPT1
 
Three tier Architecture of ASP_Net
Three tier Architecture of ASP_NetThree tier Architecture of ASP_Net
Three tier Architecture of ASP_Net
 
Presentation2
Presentation2Presentation2
Presentation2
 
Peoplesoft PIA architecture
Peoplesoft PIA architecturePeoplesoft PIA architecture
Peoplesoft PIA architecture
 
Different Software Testing Levels for Detecting Errors
Different Software Testing Levels for Detecting ErrorsDifferent Software Testing Levels for Detecting Errors
Different Software Testing Levels for Detecting Errors
 
Levels of testing
Levels of testingLevels of testing
Levels of testing
 
App designer2 in peoplesoft
App designer2 in peoplesoftApp designer2 in peoplesoft
App designer2 in peoplesoft
 
PeopleSoft Integration broker Performance Tunning
PeopleSoft Integration broker Performance TunningPeopleSoft Integration broker Performance Tunning
PeopleSoft Integration broker Performance Tunning
 
Chart Components
Chart ComponentsChart Components
Chart Components
 
People soft base benefits
People soft base benefitsPeople soft base benefits
People soft base benefits
 
Bi publisher starter guide to develop first report
Bi publisher starter guide to develop first reportBi publisher starter guide to develop first report
Bi publisher starter guide to develop first report
 
IntegrationBroker
IntegrationBrokerIntegrationBroker
IntegrationBroker
 
Test Levels & Techniques
Test Levels & TechniquesTest Levels & Techniques
Test Levels & Techniques
 

Semelhante a Component interface

Use Eclipse technologies to build a modern embedded IDE
Use Eclipse technologies to build a modern embedded IDEUse Eclipse technologies to build a modern embedded IDE
Use Eclipse technologies to build a modern embedded IDE
Benjamin Cabé
 
Whidbey old
Whidbey old Whidbey old
Whidbey old
grenaud
 
C# .NET Developer Portfolio
C# .NET Developer PortfolioC# .NET Developer Portfolio
C# .NET Developer Portfolio
cummings49
 
.NET Portfolio
.NET Portfolio.NET Portfolio
.NET Portfolio
mwillmer
 

Semelhante a Component interface (20)

Use Eclipse technologies to build a modern embedded IDE
Use Eclipse technologies to build a modern embedded IDEUse Eclipse technologies to build a modern embedded IDE
Use Eclipse technologies to build a modern embedded IDE
 
Code camp 2011 Getting Started with IOS, Una Daly
Code camp 2011 Getting Started with IOS, Una DalyCode camp 2011 Getting Started with IOS, Una Daly
Code camp 2011 Getting Started with IOS, Una Daly
 
Whidbey old
Whidbey old Whidbey old
Whidbey old
 
ios basics
ios basicsios basics
ios basics
 
Advanced Coded UI Testing
Advanced Coded UI TestingAdvanced Coded UI Testing
Advanced Coded UI Testing
 
Net framework session03
Net framework session03Net framework session03
Net framework session03
 
Angular2 with type script
Angular2 with type scriptAngular2 with type script
Angular2 with type script
 
Ef Poco And Unit Testing
Ef Poco And Unit TestingEf Poco And Unit Testing
Ef Poco And Unit Testing
 
Component Object Model (COM, DCOM, COM+)
Component Object Model (COM, DCOM, COM+)Component Object Model (COM, DCOM, COM+)
Component Object Model (COM, DCOM, COM+)
 
Faites évoluer votre accès aux données avec MongoDB Stitch
Faites évoluer votre accès aux données avec MongoDB StitchFaites évoluer votre accès aux données avec MongoDB Stitch
Faites évoluer votre accès aux données avec MongoDB Stitch
 
Developing on Windows 8
Developing on Windows 8Developing on Windows 8
Developing on Windows 8
 
What is Android?
What is Android?What is Android?
What is Android?
 
C# .NET Developer Portfolio
C# .NET Developer PortfolioC# .NET Developer Portfolio
C# .NET Developer Portfolio
 
.NET Portfolio
.NET Portfolio.NET Portfolio
.NET Portfolio
 
Debot android debugging library
Debot android debugging libraryDebot android debugging library
Debot android debugging library
 
Introduction to DL-BUILDER
Introduction to DL-BUILDERIntroduction to DL-BUILDER
Introduction to DL-BUILDER
 
CFInterop
CFInteropCFInterop
CFInterop
 
Introduction of Xcode
Introduction of XcodeIntroduction of Xcode
Introduction of Xcode
 
Tdd,Ioc
Tdd,IocTdd,Ioc
Tdd,Ioc
 
Csharp
CsharpCsharp
Csharp
 

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 

Component interface

  • 1. COMPONENT INTERFACE By, Mr. Srinivas.
  • 2. What is Component Interface?  A means to access the PeopleSoft application without using the PeopleSoft pages.  It exposes a PeopleSoft component for synchronous access from external application(peoplecode,c/cpp, java).  External applications need not be concerned with the details of page structures and component definitions in order to access the underlying data and business logic through component interfaces.
  • 4. Architecture(Contd..) Fundamental elements to the component interface architecture. • Components • Component Interface • Component Interface API
  • 5. Elements of ComponentInterface Every component interface has the following four main attributes 1)Name 2)Keys GetKeys Findkeys CreateKeys Generated in CI when the Use tab on the Component Properties dialog allows the Add action
  • 6. Elements of ComponentInterface(contd…) 3) Properties and collections (fields and records) Provide access to both component data and component interface settings. Two types of properties: Standard and User-defined. • Standard properties can be set to true or false. Examples : InteractiveMode, GetHistoryItems, EditHistoryItems.
  • 7. Userdefined methods • User-defined properties map to record fields on the PeopleSoft component and are displayed in the PeopleSoft Application Designer. • A component interface collection is a special type of property that corresponds to a scroll. 4)Methods • A method is a function that performs a specific task on a component interface at runtime. • Two main types of methods: standard and user-defined.
  • 8. Standard methods • Standard methods are those that are available for all component interfaces. 1.Cancel: Cancels any changes made since the last save. 2.Create: Creates new instance of CI 3.Find :Performs partial key search on the particular instance of the CI using search key at level zero. 4.Get :Retrieves a particular instance of CI. 5.Save : Saves an instance of the CI. 6.GetPropertyByName:Returns the value of the property specified by name. 7.SetPropertyName: Sets the value to the property specified by name.
  • 9. Userdefined Methods •Those that you can create to meet the requirements of an individual component interface. •A method is simply a PeopleCode function that you wish to make accessible through the component interface • Each method maps to a single People Code function •The Component Interface object, instantiated from a session object, is created at runtime as a way to access the data specified by the Component Interface. &oSession = %Session; &oSIdn1Ci = &oSession.GetCompIntfc(CompIntfc.S_IDN1_CI);
  • 10. When you populate a Component Interface with data, the first thing you fill out are its keys, as you would in a component. These can be keys for getting an existing instance of the data or for creating a new instance of the data. • Component Interface properties provide access to the data in a component buffer. • Component Interface methods are functions that can be called to perform operations on a Component Interface. • Component Interface can map to only one component. • A component can have any number of CIs.
  • 12. Developing & Implementing CI Design Define Fields Record Definition Build Record Defines Pages Define Components Define the Component Interface Link the Component to the Menu Authorize User Access (Security) Test your Component Interface • A component interface is a PeopleTools object that you create in Application Designer. • Add individual objects, or groups of objects, to the component interface by dragging objects from the component view into the component interface view.
  • 13. Creating & Working with a CI  To create a new component interface  Select File, New from the Application Designer menu.  Select the Component Interface object type from the New dialog.  Select the component on which this component interface will be based.  Save the component interface.  Add properties, collections, or methods to the component interface.  Set the security.  Test the component interface.
  • 14. Working with Component Interface Declaring a Component Interface Object  Component Interfaces are declared as type ApiObject. For example: Local ApiObject &TESTCI; Scope of a Component Interface Object  A Component Interface can be instantiated from PeopleCode, from a Visual Basic program, from COM and C/C++.  Variables defined at Component and Global are only for Component Interface
  • 15. Example  In this example, you are getting an existing instance of data for the EMPL_CHECK_CI Component Interface, which is based on the EMPL_CHECKLIST component, for the Update/Display mode. Local ApiObject &TESTSESSION; Local ApiObject &TESTCI; &TESTSESSION = GetSession(); &TESTSESSION.Connect(1, "EXISTING", "", "", 0); &TESTCI = &TESTSESSION.GetCompIntfc(COMPINTFC.EMPL_CHECK_CI); &TESTCI.EMPLID= "8001"; &TESTCI.Get(); /* Get checklist Code */ &CHECKLIST_CD = &TESTCI.CHECKLIST_CD; /* Set Effective date */ &TESTCI.EFFDT = "01-01-1990";
  • 16. Component Interface Working with a CI – Setting Security  Two ways to Secure Component Interfaces 1) Can be used to restrict access to individual methods or entire Component Interface
  • 17. Setting Security(contd..) 2)Application Designer • To make individual property =Read Only‘
  • 18. Using the CI Tester
  • 19. Using the CI Tester(contd..) • Specify whether to run in Interactive mode. In noninteractive mode, if you set a property, the property is not validated until you perform the save. However, in interactive mode the property is validated immediately. • Specify whether to get or edit history items. Selecting Get History Items retrieves history data Selecting Edit History Items enables editing and saving of history data. These options apply to effective-dated fields only
  • 20. Runtime considerations  WinMessage Unavailable You cannot use WinMessage in a component that will be used to build a component interface. Use MsgGet() instead.  Email from a Component Interface To use a component interface to send email, use TriggerBusinessEvent People Code event, not SendMail.  Related Display Related display fields are not available for use in a component interface as they are not held in the buffer context that the component interface uses.  Row Inserts If RowInserts have been disabled for a page, you must take care when calling inserts against the corresponding component interface. • Any PeopleCode associated with push buttons used on the page to add rows will not be invoked by the component interface when an insert is done.
  • 21. Benefits of CI  Access to all business logic  Delivered PeopleSoft logic  Your customizations Insulated from complexities of application  Data relationships  Data Integrity  Upgradeable PeopleTools object  Result: Saves Time & Money