SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

PeopleSoft Interview Questions - Part 1
PeopleSoft Interview Questions - Part 1PeopleSoft Interview Questions - Part 1
PeopleSoft Interview Questions - Part 1ReKruiTIn.com
 
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 codeRandall 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.43cesarvii
 
Validation type 'special' in value sets
Validation type 'special' in value setsValidation type 'special' in value sets
Validation type 'special' in value setsFeras Ahmad
 
142500146 using-oracle-fast formula-for-payroll-calculations
142500146 using-oracle-fast formula-for-payroll-calculations142500146 using-oracle-fast formula-for-payroll-calculations
142500146 using-oracle-fast formula-for-payroll-calculationsuday reddy
 
Absence management in oracle HRMS
Absence management in oracle HRMSAbsence management in oracle HRMS
Absence management in oracle HRMSRajiv reddy
 
How to create payslip through self service
How to create payslip through self serviceHow to create payslip through self service
How to create payslip through self serviceFeras Ahmad
 
Hr profile option
Hr profile optionHr profile option
Hr profile optionFeras Ahmad
 
Payroll process oracle hrms
Payroll process oracle hrmsPayroll process oracle hrms
Payroll process oracle hrmsShaju Shana
 
All About Multi Organization Access
All About Multi Organization AccessAll About Multi Organization Access
All About Multi Organization AccessAhmed Elshayeb
 
Fast formula queries for functions, contexts, db is and packages
Fast formula queries for functions, contexts, db is and packagesFast formula queries for functions, contexts, db is and packages
Fast formula queries for functions, contexts, db is and packagesFeras Ahmad
 
Otl Oracle Time and Labor
Otl Oracle Time and LaborOtl Oracle Time and Labor
Otl Oracle Time and LaborFeras Ahmad
 
IntegrationBroker
IntegrationBrokerIntegrationBroker
IntegrationBrokermeghamystic
 
Oracle Forms Introduction
Oracle Forms IntroductionOracle Forms Introduction
Oracle Forms IntroductionSekhar Byna
 
Customize the login homepage For Oracle EBS R12
Customize the login homepage For Oracle EBS R12Customize the login homepage For Oracle EBS R12
Customize the login homepage For Oracle EBS R12Ahmed Elshayeb
 
Oracle Forms :Window and Canvases
Oracle Forms :Window and CanvasesOracle Forms :Window and Canvases
Oracle Forms :Window and CanvasesSekhar Byna
 
Oracle Forms : Query Triggers
Oracle Forms : Query TriggersOracle Forms : Query Triggers
Oracle Forms : Query TriggersSekhar Byna
 
18 Invaluable Lessons About ADF-JSF Interaction
18 Invaluable Lessons About ADF-JSF Interaction18 Invaluable Lessons About ADF-JSF Interaction
18 Invaluable Lessons About ADF-JSF InteractionSteven Davelaar
 

Tendances (20)

PeopleSoft Interview Questions - Part 1
PeopleSoft Interview Questions - Part 1PeopleSoft Interview Questions - Part 1
PeopleSoft Interview Questions - Part 1
 
Peoplesoft technical consultant interview questions
Peoplesoft technical consultant interview questionsPeoplesoft technical consultant interview questions
Peoplesoft technical consultant interview questions
 
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
 
Validation type 'special' in value sets
Validation type 'special' in value setsValidation type 'special' in value sets
Validation type 'special' in value sets
 
oracle-reports6i
oracle-reports6ioracle-reports6i
oracle-reports6i
 
142500146 using-oracle-fast formula-for-payroll-calculations
142500146 using-oracle-fast formula-for-payroll-calculations142500146 using-oracle-fast formula-for-payroll-calculations
142500146 using-oracle-fast formula-for-payroll-calculations
 
Absence management in oracle HRMS
Absence management in oracle HRMSAbsence management in oracle HRMS
Absence management in oracle HRMS
 
How to create payslip through self service
How to create payslip through self serviceHow to create payslip through self service
How to create payslip through self service
 
Hr profile option
Hr profile optionHr profile option
Hr profile option
 
Payroll process oracle hrms
Payroll process oracle hrmsPayroll process oracle hrms
Payroll process oracle hrms
 
All About Multi Organization Access
All About Multi Organization AccessAll About Multi Organization Access
All About Multi Organization Access
 
Fast formula queries for functions, contexts, db is and packages
Fast formula queries for functions, contexts, db is and packagesFast formula queries for functions, contexts, db is and packages
Fast formula queries for functions, contexts, db is and packages
 
Otl Oracle Time and Labor
Otl Oracle Time and LaborOtl Oracle Time and Labor
Otl Oracle Time and Labor
 
IntegrationBroker
IntegrationBrokerIntegrationBroker
IntegrationBroker
 
Oracle Forms Introduction
Oracle Forms IntroductionOracle Forms Introduction
Oracle Forms Introduction
 
Customize the login homepage For Oracle EBS R12
Customize the login homepage For Oracle EBS R12Customize the login homepage For Oracle EBS R12
Customize the login homepage For Oracle EBS R12
 
Oracle Forms :Window and Canvases
Oracle Forms :Window and CanvasesOracle Forms :Window and Canvases
Oracle Forms :Window and Canvases
 
Oracle Forms : Query Triggers
Oracle Forms : Query TriggersOracle Forms : Query Triggers
Oracle Forms : Query Triggers
 
18 Invaluable Lessons About ADF-JSF Interaction
18 Invaluable Lessons About ADF-JSF Interaction18 Invaluable Lessons About ADF-JSF Interaction
18 Invaluable Lessons About ADF-JSF Interaction
 

En vedette

People code events flowchart
People code events flowchartPeople code events flowchart
People code events flowchartSatish Ap
 
Three tier Architecture of ASP_Net
Three tier Architecture of ASP_NetThree tier Architecture of ASP_Net
Three tier Architecture of ASP_NetBiswadip Goswami
 
Presentation2
Presentation2Presentation2
Presentation2JAYAARC
 
Peoplesoft PIA architecture
Peoplesoft PIA architecturePeoplesoft PIA architecture
Peoplesoft PIA architectureAmit rai Raaz
 
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 ErrorsWaqas Tariq
 
App designer2 in peoplesoft
App designer2 in peoplesoftApp designer2 in peoplesoft
App designer2 in peoplesoftVenkat Jyesta
 
XMLPublisher
XMLPublisherXMLPublisher
XMLPublisherJAYAARC
 
PeopleSoft Integration broker Performance Tunning
PeopleSoft Integration broker Performance TunningPeopleSoft Integration broker Performance Tunning
PeopleSoft Integration broker Performance TunningInSync Conference
 
Chart Components
Chart ComponentsChart Components
Chart Componentswmassie
 
People soft base benefits
People soft base benefitsPeople soft base benefits
People soft base benefitsmeghamystic
 
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 reportketulp
 

En vedette (17)

People code events flowchart
People code events flowchartPeople code events flowchart
People code events flowchart
 
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
 
XMLPublisher
XMLPublisherXMLPublisher
XMLPublisher
 
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
 
Test Levels & Techniques
Test Levels & TechniquesTest Levels & Techniques
Test Levels & Techniques
 

Similaire à 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 IDEBenjamin Cabé
 
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 DalyUna Daly
 
Whidbey old
Whidbey old Whidbey old
Whidbey old grenaud
 
Advanced Coded UI Testing
Advanced Coded UI TestingAdvanced Coded UI Testing
Advanced Coded UI TestingShai Raiten
 
Net framework session03
Net framework session03Net framework session03
Net framework session03Vivek chan
 
Angular2 with type script
Angular2 with type scriptAngular2 with type script
Angular2 with type scriptRavi Mone
 
Ef Poco And Unit Testing
Ef Poco And Unit TestingEf Poco And Unit Testing
Ef Poco And Unit TestingJames Phillips
 
Component Object Model (COM, DCOM, COM+)
Component Object Model (COM, DCOM, COM+)Component Object Model (COM, DCOM, COM+)
Component Object Model (COM, DCOM, COM+)Peter R. Egli
 
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 StitchMongoDB
 
What is Android?
What is Android?What is Android?
What is Android?ndalban
 
C# .NET Developer Portfolio
C# .NET Developer PortfolioC# .NET Developer Portfolio
C# .NET Developer Portfoliocummings49
 
.NET Portfolio
.NET Portfolio.NET Portfolio
.NET Portfoliomwillmer
 
Debot android debugging library
Debot android debugging libraryDebot android debugging library
Debot android debugging libraryTomoaki Imai
 
Introduction to DL-BUILDER
Introduction to DL-BUILDERIntroduction to DL-BUILDER
Introduction to DL-BUILDERssuserc37b5e
 

Similaire à 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
 

Dernier

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
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 educationjfdjdjcjdnsjd
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 

Dernier (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

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