APEXblog.nl - Tips and Tricks

About This Blog:
I (Richard Weug) started this blog primary for myself to save all kinds of Apex tips and tricks in one place. To use it as a place to write down how I used some coding in my own projects, but also to copy and paste all kinds of articles I find on the Internet. (So I never have to wonder on what website did I read about??? When I see something interesting I collect the content so I have my own archive/knowlegde base.

View my profile on LinkedIn

 

Tips & Tricks

Print
12
Apr

Execute Dynamic Action From Report Column Link

Written by Richard Weug. Posted in Tips and Tricks

In my previous post I showed how a dynamic action can be executed by using $event.trigger(<name>).  Using the same call we can execute a dynamic action from a column link in a report.  Not only can the dynamic action be executed but a value can also be passed to the dynamic action.

 

This example has a report of employees in the emp table and when the name of the employee is clicked a dynamic action is run to load the employee data from the database and into some page items.

The column link is created with the Target set to a URL of "javascript:$.event.trigger('DAEvent','#EMPNO#');".  The Dynamic Action will be created to execute when the "DAEvent" event is triggered.  The EMPNO value from the corresponding row will be passed and used by the Dynamic Action.

read the original and full article on: http://www.eberapp.com/pls/apex/f?p=BLOG:READ:0::::ARTICLE:1763700346995827