Accessing PeopleCode in Application Designer
You can access PeopleCode associated with Application Designer definitions in several ways.
For record fields and pop-up menu items, the Project view displays PeopleCode programs within the project hierarchy using a lightning bolt icon. The programs are children of the fields and pop-up menu items with which they are associated, and they are named according to their associated events, such as ItemSelected, RowInit, or SaveEdit, as shown in the following example.
Double-click a record field or pop-up menu item program in the Project view to start the PeopleCode Editor and load that program for editing. When you load a program in the PeopleCode Editor, the status bar at the bottom of the Application Designer window displays the date, time, and the ID of the user who last updated the program as shown in the following example:
You can associate PeopleCode with other types of definitions, such as:
Such PeopleCode programs do not appear in the Project view. Instead, you right-click the name of the definition and select View PeopleCode. You can also access these programs from their associated definitions.
PeopleCode can also be associated with:
Component records (specific records included in components).
Component record fields (specific record fields included in components).
Because component record fields and component records do not appear in the Project view, you must access their associated programs through their parent definitions.