Jump to: navigation, search

LaunchDocumentByReferenceCommand


IC COMMAND.png Launch Document by Reference
Name LaunchDocumentByReferenceCommand
Purpose Launch a Document by specifiyng its reference.
Version 2.6.1+
ViewModel ViewModel, ContentViewModel

The LaunchDocumentByReferenceCommand will launch a document file directly by specifing the content object having the FileDocumentClassification. There are two general possibilities to launch the document file in an external viewer. The command paramter can be the UID of the content object, specified as a parsable string or a Guid object. In the ContentViewmodel and all other dervied ViewModels having content loaded, it is possible to just specify the ID of the refrence property holding the document reference as a Guid.

Command Property

Name Data type Comment
Document Refrence ID ID of the document reference property, or guid of document.

Example 1:

    <Button Command="{Binding LaunchDocumentByReferenceCommand}" CommandParameter="f7b95590-4634-4d7c-a94a-15b9b72b2ca4" Content="OPEN DOC"/>

Example 2:

    <Button Command="{Binding LaunchDocumentByReferenceCommand}" CommandParameter="REF_OPERATIONSMANUAL" Content="OPEN DOC"/>


See also

NavigateToGuidCommand