PeopleCode Events that do not fire in Component Interface

By Chris Malek | Wed, Apr 25, 2012

When you create an Component Interface object in Application Designer that wraps an existing PeopleTools Component, there are some subtle issues with some PeopleCode events that you should be aware of. This is documented in PeopleBooks but is often overlooked by developers. Additionally, if you are creating a Component Interface definition for a Component that is delivered or someone else wrote you can run into problems if the Component is using certain PeopleCode events that are critical to the logic of the component.

PeopleCode Issues with Component Interface

Here are the PeopleCode vents that do NOT trigger in Component Interface.

  • Page Activate - See Stop Using Page Activate PeopleCode
  • TransferPage and Transfer PeopleCode functions
  • DoSaveNow
  • DoModal
  • SetCursorPosition
  • SearchInit
  • SearchSave
  • RowSelect
  • Menu PeopleCode

So if you are creating a component that you want to expose in a Component Interface, you should be aware of these limitations and make sure you are not using any of these events or functions. The two that I see the most that cause issues is the DoSaveNow and the Page Activate events.

Author Info
Chris Malek

Chris Malek is a PeopleTools® Technical Consultant with two decades of experience working on PeopleSoft enterprise software projects. He is available for consulting engagements.

About Chris Work with Chris
Product
PeopleSoft Simple Web Services (SWS)
Do you need a quick way to create web services?

Introducing a small but powerful PeopleSoft bolt-on that makes web services very easy. If you have a SQL statement, you can turn that into a web service in PeopleSoft in a few minutes.

Book
Integration Broker - The Missing Manual

I am in the process of writing a book called "Integration Broker - The Missing Manual" that you can read online.