PeopleCode Question:

Download Job Interview Questions and Answers PDF

Can you explain about component Buffer?

PeopleCode Interview Question
PeopleCode Interview Question

Answer:

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 component buffer 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.
PeopleCode frequently must refer to data in the Component Buffer, that is, the area in memory that stores data for the currently active component.
There are two methods of specifying a piece of data in the Component Buffer from within PeopleCode:
-------- Contextual references, which refer to data relative to the location of the currently executing PeopleCode program.
-------- References using scroll path syntax, which provide a complete, or absolute, path through the Component Buffer to the referenced component.

The component buffer contain current active component data it is temporary memory area .

Download PeopleCode Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me What is the diff between component level peoplecode and record level peoplecode?Explain SMTP sendMail failed error during testing of HRMS upgrade to 8.9 (8.46.09 tools). On all of our triggerbusinessevents trying to send an email, we receive the above error. Any help would be appreciated.?