Enabling/Disabling Global toolbar buttons dynamically in FPM Application


The link: Adding buttons on the Global toolbar of the FPM Application describes how to add buttons on the global toolbar.

Test the application.


The application screen looks like as below. Now the task is very first when the application is launched CANCEL button should be invisible and once EDIT button is clicked then only CANCEL button would be visible.


Go to the application controller class. Open the OVERRIDE_EVENT_OVP method.


put the below code.


Now test the application again. Now the CANCEL button is hidden now. once Edit button is clicked, the CANCEL button again appears.




Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s