Leave a Comment / Dynamic Actions / By APEX Lessons Oracle APEX - Dynamic Actions (Custom Event) Video Tutorial Demo : https://apex.oracle.com/pls/apex/f?p=APEXLESSONS:CUSTOM_EVENTUsername : apexlessonsPassword : apexlessons Example 1 1) Create Custom Event Dynamic Action 1) IdentificationName: Custom Event Alert 2) WhenEvent: CustomCustom Event: CustomEvent1Selection Type: JavaScript ExpressionJavaScript Expression: document Add True Action1)IdentificationAction: Alert2) SettingsText: Custom event fired successfully.3) Execution OptionsFire on Initialization: False 2) Create Dynamic Action (To fire custom event dynamic action) 1) IdentificationName: On Click Example 1 2) WhenEvent: ClickSelection Type: ButtonButton: P2_ALERT Add True Action1)IdentificationAction: Execute JavaScript Code2) SettingsCode: $.event.trigger(“CustomEvent1”);3) Execution OptionsFire on Initialization: False Example 2 1) Create Custom Event Dynamic Action1) IdentificationName: Custom Event Page Submit2) WhenEvent: CustomCustom Event: CustomEvent2Selection Type: JavaScript ExpressionJavaScript Expression: document 1) Add True Action1)IdentificationAction: Execute JavaScript Code2) SettingsCode: alert(‘Another Custom event fired.’);3) Execution OptionsFire on Initialization: False 2) Add True Action1)IdentificationAction: Submit Page2) SettingsShow Processing: True3) Execution OptionsFire on Initialization: False Example 2 Region Static ID: dbclick Function and Global Variable Declaration$(“#dbclick”).dblclick(function(){$.event.trigger(“CustomEvent2”);});