Professional Documents
Culture Documents
It is n-tier architecture. We have client, web server, application server and Database server. We have jolt
and tuxedo. We have WSL, WSH, JSL, JSH, QUEUES and services.
In database server we have system tables, peopletools tables and application tables.
5. Is there any way by which you can find out whether the user is in Add mode or Update mode?
%mode---returns A---for Add mode. Returns U –for Update mode
6. What is the purpose of the SQLEXEC function? What are its benefits and draw backs?
SQLEXEC is used to execute the sql statements (select, insert,update,delete).
We can get only one row at a time.
7. How is the searchinit event most often used by people soft application?
A) Searchinit fires before the search dialogue page is displayed to the end user.For this reason searchinit
is often used to enhance roll level security by inserting and graying out certain values to the search
dialogue page.
12. What are different variables in people code and their Scope?
System variables and User defined variables.
Scope --- Global, Component, Local.
15. What is difference between saveprechange and savepostchange? Which function directly
interacts with the database?
Saveprechange---last event that executes before updating the data from component buffer to the
database.
Savepostchange –fires after the updation of data in the database.
SQLEXEC --- function directly interacts with the database.
16. What is Getlevel 0()? What is the use of %subrec and %selectall functions?
Getlevel0 ()---used the get the rowset of the level0.
%subrec--is used only in Dynamic View SQL where it expands to the columns of a subrecord:
%selectall--%SelectAll is shorthand for selecting all fields in the specified record, wrapping date/time
fields with %DateOut, %TimeOut.
17. What is an array in people code? What is maximum dimension of an array? Which function
inserts values into an array? What is “pop”?
An array is a collection of data storage locations, each of which holds the same type of data.
The maximum depth of a PeopleCode array is 15 dimensions.
Push and unshift are the functions of the array used to add the elements into the array one from the end
of the array and one from the beginning.
Pop is a function of array used to select and delete an element from the end of the array.
21. What are the built-functions used to control translate values dynamically?
Adddropdownitem ()
Deletedropdownitem ()
25.What are the rules used by the system to determine whether a user is authorized to update an
object?
The user should have the permission to update the object. This is given by the Definition security. The
group, which holds the object, should be added to the permission list of the user in update mode.
What are the different ways we can set up the portal security to access component in portal?
1) Structure & content
2) Menu import
3) Register componentv