Jump to: navigation, search

Difference between revisions of "HowTo:Make an Object be found by Optical Codes"


Line 6: Line 6:
 
# [[HowTo:Create a new Query]] classified as [[SYSCLS_IDMARKERSCANQUERY]]
 
# [[HowTo:Create a new Query]] classified as [[SYSCLS_IDMARKERSCANQUERY]]
 
# Set the according filter object ('''FILTEROBJECT''') similar as for other queries (e.g. [[HowTo:Create_a_new_Query]])<br/>[[File:UI_Marker_scaning01.png|420 px|border|alt=Create a new Query|Create a new Query]]
 
# Set the according filter object ('''FILTEROBJECT''') similar as for other queries (e.g. [[HowTo:Create_a_new_Query]])<br/>[[File:UI_Marker_scaning01.png|420 px|border|alt=Create a new Query|Create a new Query]]
# Add this new query to the list of [[infrastructure]] objects
+
# Add this new query to the list of [[SYSREL INFRASTRUCTURE|Infrastructure objects]]
 
# Prepare and add a [[QUERYSCOPE]] to the [[ACM]]
 
# Prepare and add a [[QUERYSCOPE]] to the [[ACM]]
 
# Prepare and add a [[VIEWITEMS|View Item]] to the view set in the [[Context]] of the ACM<br/>[[File:UI_Marker_scaning02.png|420 px|border|alt=infrastructure|infrastructure]]
 
# Prepare and add a [[VIEWITEMS|View Item]] to the view set in the [[Context]] of the ACM<br/>[[File:UI_Marker_scaning02.png|420 px|border|alt=infrastructure|infrastructure]]

Revision as of 11:14, 24 March 2015

Loading a list of objects identified via a Barcode or QR-Code on the UBIKCLIENT implies that the object and search mechanism is configured and used accordingly.

[edit]

Studio

Preparing a Scan-Query

  1. Create a new Query classified as SYSCLS IDMARKERSCANQUERY
  2. Set the according filter object (FILTEROBJECT) similar as for other queries (e.g. Create a new Query)
    Create a new Query
  3. Add this new query to the list of Infrastructure objects
  4. Prepare and add a QUERYSCOPE to the ACM
  5. Prepare and add a View Item to the view set in the Context of the ACM
    infrastructure

Preparing the object

  1. Classify the object's MetaClass as SYSCLS OBJECTWITHIDMARKER and implement the necessary properties
    Create a new Query
  2. Enter the value of the Barcode, QR-Code or the Marker ID in the property

Client

Using the scan query

  1. Start a scan activity, like the QR-Code or ID-Marker activity, if you want to load an object via Barcode or QR-Code
  2. After scanning a known code the client tries to fetch the objects, identified by this code

See also