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.

  1. Make sure the record field is exposed on the CI as a property.
  2. 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
Integration Broker - The Missing Manual

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

Read Online