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...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{CommandInfoBox | {{CommandInfoBox | ||
− | | title = | + | | title = Launch Document by Reference |
| name = {{PAGENAMEE}} | | name = {{PAGENAMEE}} | ||
| purpose = Launch a Document by specifiyng its reference. | | purpose = Launch a Document by specifiyng its reference. | ||
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> | ||
− | |||
Line 40: | Line 33: | ||
{{Category/Version|2.6.1}} | {{Category/Version|2.6.1}} | ||
+ | |||
+ | [[Category:2.6.1|LaunchDocumentByReferenceCommand]] |
Latest revision as of 09:55, 17 August 2017
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"/>