-
Introduction to Creator Developer Training
Frontline Creator allows users to easily configure 2D augmented reality applications - without programming knowledge. For more information see the "Creator" section. It is a platform tool that allows you to create workflow models of real-world processes. The created workflow is then assigned to a smartglass user for…
-
Component Structure
Components are written in XML and you can implement desired behavior by writing down its rules, which areif A then B statements. For example, The requirement is that while inspecting a machine if the user presses the button "Camera", then the device's internal camera starts. The same rule could be expressed a bit closer to…
-
Scopes and Referencing
In this lesson, we will talk about scopes and references. These will help you make rules and actions reusable and also access and manage data throughout your component. There are two scopes in which you can declare rules, actions, and store data: step: Each step of a component has its own scope. Rules, actions, and data…
-
Context Variables
Any data in a component is saved as a <context> variable. Variables can be declared and initialized in the workflow or step scope of the component, depending on where you need them: <context> <param name="Title" type="string">Please choose one</param> </context> Available data types: string, bool, double, long and object.…
-
Rules and Expressions
In this lesson, we will concentrate on how to implement a component's behavior with rules and actions. Rule When creating components one can write rules consisting of an expression and one or more actions. The actions will be executed if the expression is true. A rule consists of three elements: ID: Rule identifier that…
-
JavaScript & Functions
Sometimes during workflow development, the tools we have discussed up to this point will not be enough to implement the required logic. Typically, this occurs whenever you need to manipulate the raw input data, e.g., before comparing it in an expression or before saving it in a context variable. In these cases, the option…
-
Layouts and Mapping
So far we have only discussed how to implement the behavior of the application, but not how it looks. In this chapter, we will focus on this topic. Layout structure and basics Similar to the workflow, the layout of your application is also defined in XML. Layouts consist of a LayoutPage which defines a reusable frame for…
-
Component Configuration
At this point, we have a decent component. However, if we want to share it with others (especially non-developers), its utility is limited. It will only offer a choice between Apples and Pears. While this was perfect for our first customer (probably a fruit cake factory), the automotive company we are working on next will…
-
Handlers
After all the previous lessons, you should now be able to implement most components. However, there is still a workflow element we haven't covered: Handlers. Handlers encapsulate more complex logical modules (compared to actions). They run in the background while the workflow is executed and listen for certain events which…
-
Translation
It is possible to add multi-language support to components using translation files. Create a new translation file for each language you want to support under the resources tab of the advanced editor. These files (like media files) are saved in the workflow, not the component. This means that all translations can be used in…