Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.7K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
HOW TO : Initialize / On Load of a BPM Object Presentation

720713
Member Posts: 27
Hi,
We have a BPM Object Presentation. On Load of the same, we need to enable/disable a UI field basing on data of one of the BPM Object attributes.
If we put it in constructor, it is not allowing to enable/disable the Presentation UI Component as it is a 'client side' operation.
Wanted to know where we can put the code to 'initialize' of a presentation or do something 'on load' of the presentation form.
Regards,
user8702013
We have a BPM Object Presentation. On Load of the same, we need to enable/disable a UI field basing on data of one of the BPM Object attributes.
If we put it in constructor, it is not allowing to enable/disable the Presentation UI Component as it is a 'client side' operation.
Wanted to know where we can put the code to 'initialize' of a presentation or do something 'on load' of the presentation form.
Regards,
user8702013
Best Answer
-
Hello,
You can create a method which can be called on the initialization of the screen.
To map the method with the presentation, you need to click on the presentation(be careful not to select one of the components). You will then see the properties of the entire presentation in the right hand side pane.
Change the initialization method from <None> to the method you want to call on the loading of the presentation.
This method will get executed every time the presentation is called.
If you are making any DB calls or want to interact with some other external resources in this method then change the Server side property of this method to Yes.
In case of queries revert back.
HTH.
Regards,
Jaydev Doshi
Answers
-
Create a new method client side and associate to the load of the presentation.
If you need to call a server side method call it from the create it and call it from the client side method created before.
HTH -
Hello,
You can create a method which can be called on the initialization of the screen.
To map the method with the presentation, you need to click on the presentation(be careful not to select one of the components). You will then see the properties of the entire presentation in the right hand side pane.
Change the initialization method from <None> to the method you want to call on the loading of the presentation.
This method will get executed every time the presentation is called.
If you are making any DB calls or want to interact with some other external resources in this method then change the Server side property of this method to Yes.
In case of queries revert back.
HTH.
Regards,
Jaydev Doshi
This discussion has been closed.