Difference between revisions of "LaunchDocumentByReferenceCommand"
(→Command Property) |
|||
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 27: | Line 27: | ||
</source> | </source> | ||
− | + | ||
== See also == | == See also == | ||
Line 33: | 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"/>