VLF-WIN - execute command handler

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
bweeks
Posts: 3
Joined: Tue Apr 05, 2016 9:41 am

VLF-WIN - execute command handler

Post by bweeks »

What is the syntax to programmatically call/invoke the command handler within the VLF framework ?

Instead of selecting a row from the filter, I want to invoke the command handler when a button is pressed.
bweeks
Posts: 3
Joined: Tue Apr 05, 2016 9:41 am

Re: VLF-WIN - execute command handler

Post by bweeks »

The syntax for a business object name (attendance), to call the command handler for command (edit) would be:

Code: Select all

Invoke Method(#avFrameworkManager.avSwitch) To(BusinessObject) Named(attendance2) Execute(Edit) Caller(#Com_Owner)
MarkD
Posts: 692
Joined: Wed Dec 02, 2015 9:56 am

Re: VLF-WIN - execute command handler

Post by MarkD »

If that does not work for you try using trace mode to see what is happening.
Post Reply