Difference between revisions of "LaunchDocumentByReferenceCommand"
(Created page with "{{CommandInfoBox | title = Activate Reference by Scan | name = {{PAGENAMEE}} | purpose = Launch a Document by specifiyng its reference. | version = 2.6.1+ | viewmodel = ViewMo...") |
(→Command Property) |
||
Line 20: | Line 20: | ||
<source lang = "xml"> | <source lang = "xml"> | ||
<Button Command="{Binding LaunchDocumentByReferenceCommand}" CommandParameter="f7b95590-4634-4d7c-a94a-15b9b72b2ca4" Content="OPEN DOC"/> | <Button Command="{Binding LaunchDocumentByReferenceCommand}" CommandParameter="f7b95590-4634-4d7c-a94a-15b9b72b2ca4" Content="OPEN DOC"/> | ||
− | |||
− | |||
− | |||
</source> | </source> | ||
Line 28: | Line 25: | ||
<source lang = "xml"> | <source lang = "xml"> | ||
<Button Command="{Binding LaunchDocumentByReferenceCommand}" CommandParameter="REF_OPERATIONSMANUAL" Content="OPEN DOC"/> | <Button Command="{Binding LaunchDocumentByReferenceCommand}" CommandParameter="REF_OPERATIONSMANUAL" Content="OPEN DOC"/> | ||
− | |||
− | |||
− | |||
</source> | </source> | ||
− | + | [[Category:2.6.1|LaunchDocumentByReferenceCommand]] | |
− | + | ||
== See also == | == See also == |
Revision as of 07:53, 26 July 2017
Activate Reference by Scan | |
---|---|
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"/>