Component Interface Important questions



1.    What is component interface, where did you use?
a.     A component interface is a people tool to enable a peoplesoft component for synchronous access from another application (java, c, c++, xml).
b.     It is an integration tool, which is used to integrate peoplesoft component from one application to another application. The application can be another peoplesoft application or third party application (c/ c++, java).
2.     What are the 3 things, which loaded automatically when we create CI?
a.     Keys, methods, properties and collections
3.     What are the diff b/w collections and properties?
a.     Properties provide access to the data in a component buffer. (CreateKeyInfoCollection, GetKeyInfoCollection, FindKeyInfoCollection, GetHistoryItems etc)
b.     A component interface collection is a special type of property that corresponds to a scroll. It contains fields and subordinate scrolls as defined in its underlying component. By default, each collection uses the name of the primary record for the underlying scroll.
4.     What is the logic used by Component Buffer? Depth First Algorithm 
a.     If scroll level zero of a page contains only controls associated with primary scroll record fields that are search keys or alternate search keys, then only the search key and alternate search key fieldsare in the component buffer, not the entire record. The values for the fields come from the keylist, and the record cannot run RowInit PeopleCode. If level zero contains at least one record field from the primary scroll record that is not a search key or alternate search key, then all the record fields from the primary scroll record are available in the buffer. Methods used: GetRecord, GetField, GetRow, GetRowset
5.     The following are various steps that describe the peoplecode logic while implementing a Component Interface?
a.     1.Establish a user session, 2.Get the Component Interface, 3.populate the Create Keys, 4.Create an Instance of the CI, 5.pulate the required fields, 6. Save the CI
6.     The main attributes of a Component Interface (CI) are?
a.     Keys, Properties & Collections, Methods and Name
7.     Which one of the following are standard properties when a Component Interface (CI) is created?
a.     InteractiveMode, GetHistoryItems, and EditHistoryItems
8.     Which of the following can be mapped as Find Keys for a Component Interface?
a.     Search key and alternate search key
9.     If you are PS developer then in what scenarios Component Interface will have advantages over component?
a.     A component exposes your pages to peoplesoft only. Moreover it helps us to define common properties for a set of related pages.
b.     A component interface is a set of application programming interfaces (APIs) that you can use to access and modify PeopleSoft database information programmatically. PeopleSoft Component Interfaces expose a PeopleSoft component (a set of pages grouped for a business purpose) for synchronous access from another application (PeopleCode, Java, C/C++, or Component Object Model [COM]).
10.  How do we maintain Consistency between Components and CI?

a.     A CI is called in Save-prechange with Currently active component buffer data’s. The called CI gets saved successfully. But the component from which CI called gets errored in Save-postchange. How do we maintain consistency between two components?
SHARE

peoplesoft

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment

Phaniraavi@gmail.com