Quintiq file version 2.0 #parent: #root Method OpenView ( internal[WebButton] button ) id:Method_GlobalStateKpiTracker_OpenView { #keys: '[146874.0.1482335968]' Body: [* // Load view from the WebButton and mark it. labelName := button.Label(); view := select( ApplicationScope.ViewManager(), Views, vw, vw.Name() = labelName ); if( isnull( view ) ) { WebMessageBox::Error( 'Missing view: ' + labelName ); } else { ApplicationScope.ViewManager().LoadView( view ); MarkingSystemInstance.MarkOpenView( button ); } *] }