By Chris Malek | 04 January 2011
How to Press a Button in Component Interface
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.