[progress Communities] [progress Openedge Abl] Forum Post: Re: Run Triggers On Filtered Or...

Status
Not open for further replies.
S

Santosh Patel

Guest
I'm away from my system so can't give you actual code and steps, but this is what you can try. - Define an object script trigger - Use rbv_api.getSelectedIds(objName) serverside api method to get selected ids by an object ( documentation.progress.com/.../index.html - Iterate over the Ids and call rbv_api.runTrigger() method on each trigger you want to invoke for each record ( documentation.progress.com/.../index.html Lastly, put in a custom button on your page that invokes the rbf_runTrigger() on the object script trigger you created above, that users will execute after selecting records. Note that runTrigger takes in an object ID to run the trigger against, however as the content of your object script trigger is record agnostic, you can pass in any valid record id for that object type.

Continue reading...
 
Status
Not open for further replies.
Top