OCLOperators ExecuteAction
(Created page with "ExecuteAction(nameofNesting,NameOfColumn)  Executes the action in a viewmodel")
 
(Updated Edited template to July 12, 2025.)
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
ExecuteAction(nameofNesting,NameOfColumn)  Executes the action in a viewmodel
<message>Write the content here to display this box</message>
Executes the action in a ViewModel.
selfVM.ExecuteAction(<nameofNesting in viewmodel>,<Name of action>)
The action is executed disregarding disable/visible expression. Thus, when you do this from code, you must ensure any enable rules yourself (this is a good thing because sometimes you may want to do one thing from code and another from the UI or ServerSide execution).  
[[Category:OCLOperators]]
[[Category:OCL ViewModel Operators]]
[[Category:Actions]]
{{Edited|July|12|2025}}

Latest revision as of 05:54, 20 January 2025

This page was created by Lars.olofsson@mdriven.net on 2020-06-23. Last edited by Edgar on 2025-01-20.

Executes the action in a ViewModel.

selfVM.ExecuteAction(<nameofNesting in viewmodel>,<Name of action>)

The action is executed disregarding disable/visible expression. Thus, when you do this from code, you must ensure any enable rules yourself (this is a good thing because sometimes you may want to do one thing from code and another from the UI or ServerSide execution).