Difference between revisions of "ActivateReferenceByScanCommand"
(→CommandProperty) |
(→See also) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
| viewmodel = ContentViewModel | | viewmodel = ContentViewModel | ||
}} | }} | ||
− | + | ||
− | The ActivateReferenceByScan Command ist used to set references on target content via scanning. The command can be used when the source content object is present in the current context. | + | The ActivateReferenceByScan Command ist used to set references on target content via scanning. The command can be used when the source content object is present in the current context. Once the command is triggered, the scan page opens up and the user can scan for an optical marker. Once an object was found, this object wil now reference to the source object, which the command was called from. If the user cancels the scanning, the reference will still stay active and can be set maually (e.g. in the case the target object could not be found due to a damaged optical marker). |
== Command Property == | == Command Property == | ||
Line 14: | Line 14: | ||
! width=30% | Name !! width=30% | Data type !! Comment | ! width=30% | Name !! width=30% | Data type !! Comment | ||
|- | |- | ||
− | | ''Target Reference ID'' || | optional ID of the target property ID, if not provided the first available and writable {{Guid}} property will be set | + | | ''Target Reference ID'' || | optional ID of the target property ID, if not provided the first available and writable {{Guid}} property will be set on the target object. |
|} | |} | ||
Line 28: | Line 28: | ||
</source> | </source> | ||
− | |||
− | |||
− | |||
+ | |||
+ | == See also == | ||
+ | [[ActivateReferenceCommand]]<br> | ||
+ | [[SetActiveReferenceCommand]]<br> | ||
+ | [[ContinueSetReferenceByScanCommand]]<br> | ||
{{Category/Version|2.6.1}} | {{Category/Version|2.6.1}} | ||
+ | |||
+ | [[Category:2.6.1|ActivateReferenceByScanCommand]] | ||
+ | [[Category:Pages with broken file links|ActivateReferenceByScanCommand]] |
Latest revision as of 13:40, 20 March 2017
Activate Reference by Scan | |
---|---|
Name | ActivateReferenceByScanCommand |
Purpose | Activate the reference to the current content object to be set on a scanned target |
Version | 2.6.1+ |
ViewModel | ContentViewModel |
The ActivateReferenceByScan Command ist used to set references on target content via scanning. The command can be used when the source content object is present in the current context. Once the command is triggered, the scan page opens up and the user can scan for an optical marker. Once an object was found, this object wil now reference to the source object, which the command was called from. If the user cancels the scanning, the reference will still stay active and can be set maually (e.g. in the case the target object could not be found due to a damaged optical marker).
Command Property
Name | Data type | Comment |
---|---|---|
Target Reference ID | optional ID of the target property ID, if not provided the first available and writable Guid property will be set on the target object. |
Example:
<Button Height="38" Content="Scan And Link">
<Interactivity:Interaction.Behaviors>
<Core:EventTriggerBehavior EventName="Tapped">
<Core:InvokeCommandAction Command="{Binding ActivateReferenceByScanCommand}" CommandParameter="SCANREF"/>
</Core:EventTriggerBehavior>
</Interactivity:Interaction.Behaviors>
</Button>
<Interactivity:Interaction.Behaviors>
<Core:EventTriggerBehavior EventName="Tapped">
<Core:InvokeCommandAction Command="{Binding ActivateReferenceByScanCommand}" CommandParameter="SCANREF"/>
</Core:EventTriggerBehavior>
</Interactivity:Interaction.Behaviors>
</Button>
See also
ActivateReferenceCommand
SetActiveReferenceCommand
ContinueSetReferenceByScanCommand