| MvComponentOpenView Method (String, String, MvValue, Boolean) |
Opens an instance of a dynamic view on a server object.
Namespace:
RW.Server.Component
Assembly:
RW.Server.Component (in RW.Server.Component.dll) Version: 6.5.0.0 (6.5.0.0)
Syntax public void OpenView(
string objId,
string viewId,
MvValue[] params = null,
bool force = false
)
Public Sub OpenView (
objId As String,
viewId As String,
Optional params As MvValue() = Nothing,
Optional force As Boolean = false
)
public:
void OpenView(
String^ objId,
String^ viewId,
array<MvValue^>^ params = nullptr,
bool force = false
)
Parameters
- objId
- Type: SystemString
The object identifier. - viewId
- Type: SystemString
The view identifier. - params (Optional)
- Type: RW.Server.ComponentMvValue
If the view opens successfully, these values are used to
initialize the dynamic view parameters as they are declared in
the view specification file: the first value in the array is
assigned to the first view parameter, the second value to the
second view parameter, and so forth. - force (Optional)
- Type: SystemBoolean
If set to true, this parameter requires to
force the opening of a view that was previously opened by the
component. If this parameter is set to false
and the view has already been opened by the component, the
view is not duplicated, but the
SetSelection method is called on
the representation associated with this view.
Remarks
Category: Component Actions on the server..
The server opens an instance of the dynamic view type
viewId on the server object
previously registered with the identifier
objId (see
IlsMvServer::DeclObjectLabel() to know how to
associate a server object with a label.)
In distributed environments, this member
function operates in asynchronous mode.
See Also