How to Press a Button in Component Interface
By Chris Malek | Tue, Jan 4, 2011
When developing with component interfaces you often need to mimic a user pressing a button on the page. How do you press the button in component interface? It turns out it is very easy. The button should be tied to a record field. You just need to change the value in the CI of the record field.
- Make sure the record field is exposed on the CI as a property.
- In the code where you are working with the Component Interface, just change the value to something like “x”.
The fieldChange peoplecode tied to the push button will be executed.
Article Categories
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 ChrisPeopleSoft Simple Web Services (SWS)
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.
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.