Welcome to ScanIT user manuals

The ScanIT add-on adds another data import option to i-doit, which allows you to capture various data from barcodes using a mobile handheld scanner. Either new or existing objects can be created or updated. Before the data is imported into the CMDB, it performs data validation with meaningful feedback. If necessary, the data to be imported can be adapted or corrected directly. This avoids having to correct or delete incorrectly imported values in the CMDB. Entries such as manufacturer, model, serial number, inventory number, location, delivery date or similar can be recorded. The add-on supports internal processes such as inventory, warehousing, relocations, inventory, incoming and outgoing goods, and much more.


This documentation for ScanIT add-on is organized into a couple of sections:

About us

We love technology!!! That is our motto in short :-)

We love technology

Since our foundation in the year 1988, becon has gone from one of the earliest IT service providers to being a full-service provider of solutions and services in the information and telecommunications technology industry.

Our mission is the implementation and optimization of data center services. Our focus is the automation of processes using both open and closed source solutions. We are a full-service partner, providing the entire range of value-adding services from consultation, strategy, installation, training, rollout, development, support and operational support for medium-sized and large corporations.

becon is a private company with locations in Munich, Berlin and Fulda. Our Germany-wide coverage allows us to provide on-site support to our customers throughout the country within a few hours – for those occasions when security concerns make remote support a non-option.

Data privacy and protection are core success factors for any reliable IT operation. The strict requirements on this subject area have led to a much greater awareness of security as well as to sophisticated protection and emergency provision strategies.

ScanIT is a android app application. It is distributed under the becon license.

Architecture

alternate text

Requirements

i-doit

  • at least 1.10 Version
  • PHP-Extensions curl need to be installed
  • AddOn API need to be installed

Android

  • at least android Version 10.0
  • tested mobile phones
    • Samsung Galaxy S7, S8, S9

1: Create and deploy profiles for the android app

Create profiles

First of all we need to configure process profiles in i-doit.

alternate text

Now an profile must be defined, which serves as a form on the mobile device. The three columns depict the dependency of the fields (category-> attributes) including selected attributes in i-doit. If you choose a category on the left side, this will adjust the middle column. If you have now selected the required attribute fields, you can also adjust the order (via DragAndDrop) at the end.

alternate text

Finally, at least one identification field must be defined. This property is used in i-doit to create or update an object.

Deploy profiles

alternate text

If you done your configuration, you can save your profile by using the “Save Profile” button. Click the “Generate CSV” button to deploy the CSV file to the android app.

2: Get profiles, lists and start scanning

Getting profiles

Starting your android app. You will see four buttons.

alternate text

First of all you need to sync your profiles from i-doit. Click on “Sync”.

Note

At this part it is assumed that connector is already configured!

alternate text

Now you can see two options. “Get Data” and “Send Data”. That means, if we want to get data from i-doit system or if we want to send data to i-doit system. So we want to get the profiles :-)

alternate text

Now choose the profiles under “Profiles from i-doit” you want to sync to your android app by using the checkboxes. Then click “Update” to sync the files.


Getting lists

The second step before you can start scanning is to sync the lists. All available attributes of object types and cmdb statuses are fetched from i-doit and stored locally in the app. These are put in dropdown lists for preselection in the respective fields.

alternate text

Choose “ObjectTypes.csv” and “CMDBStatus.csv” under “Dropdown lists”. Then click “Update” to sync the files.

Go back to home screen and click on “Scan” button.

alternate text

Choose one of your synchronized i-doit profiles.


Start scanning

alternate text

Now you see your configured fields from i-doit system. Type into a row for entering datasets by keyboard. Use the “barcode” button to open the barcode scanner.

alternate text

Click on the “Save” button, to save the dataset.

3: Send and import data to i-doit

Send data

Go back to the home screen and click on “Sync” button.

Now click the “Send Data” button.

alternate text

Select your files to send to i-doit. After selecting, click the “Send To I-Doit” button.

Import data to i-doit

Now go to the overview of ScanIT add-on in i-doit. Click the “Import” menu to display the files to be imported.

alternate text

After selecting a file, you get a table preview of the file.

alternate text

If an error occured while opening a file, you will receive a response via the GUI

alternate text

Use the “update” link in the row, to fix the problems via GUI. Or delete the row by clicking the “delete” link.

alternate text

Click “save” after fixing the problems, to return to the table preview site.

alternate text

Now select the lines to be imported. This concludes the process :-)

Installation

The following describes the complete installation of the ScanIT add-on. First of all you need to install the ScanIT add-on into the i-doit System. After this step you can download the ScanIT app from Andorid-Playstore.

i-doit

Download

Getting the ScanIT add-on from becon.

Installation

The installation of the ScanIT add-on is installable via the i-doit Admin Center. The Admin Center is accessible via the addition / admin in the address bar of the browser.

alternate text

Then navigate to the add-ons tab. And select the button “Install / update add-on”.

alternate text

Now the corresponding ZIP archive containing the add-on can be selected via “Browse” and then installed (“Update and install”). In this case, it is also important to note that if several clients are installed, for which tenants the add-on should be made available.

Note

Maybe you need to add access permissions (see below) inside of .htaccess (e.g (/var/www/html/idoit/.htaccess)
## …except some PHP files in script/:
<Files “dataTransfer.php”>
Require all granted

</Files>

Android

Download

Getting the app from the android playstore.

Installation

After installation you will see the home screen of this app.

home screen

Configuration

i-doit

After installing API add-on, you need to:

  • generate an apikey
  • set apikey
  • deactive idoit.login auth
  • activate JSON-RPC API
home screen

Android

After installing ScanIT app, you need to set up your connector information. Click on “Settings” and configure the i-doit url and apikey information under the item “Data & Sync”.

alternate text

i-doit

The individual functions on the part of i-doit are explained in more detail here.

Export

In order to be able to create data sets in the ScanIT mobile application, customised profiles must be created in i-doit beforehand. These are used by the app for further processing. Each attribute selected in i-doit specifies a line in the app’s form.

alternate text

Go to “Extra” at the top right of the tab and click on the “ScanIT” button in the drop-down list.

alternate text

You are now on the import page. Go to the left navigation and select export.

alternate text

A profile consists of attributes that can be selected from the four predefined categories. Select a category and the available attributes of the category will be displayed.

alternate text

If you want to add an attribute to the profile, click on the “+” button. The + button disappears and the selected attribute is added to the profile in “selected attribute”.

Note

A profile can be compiled from the attributes of various categories.

alternate text

The attribute can be removed again via the “-” button. In this column you will see all the attributes that have been added to the profile.

To the right of an attribute “Bezeichnung” is a checkbox that can be selected. If a checkbox can be selected in the attribute, this is an identifier. If this is selected and an object with the value in this field exists, the object is updated with all values of the dataset.

alternate text

To finally save these attributes in a profile, enter a name in the text field below and click on “Save profile”.

alternate text

The profile has been created and can now be loaded from the mobile application. The profile can be deleted using the “-” button.


Import

The files sent by the mobile application are managed here. They can be edited subsequently and finally saved in the database.

alternate text

Click on “Import” in the left-hand navigation.

alternate text

Here you can see the import interface and no import files have been received from the mobile application.

alternate text

First, a file must be selected in the mobile application and sent to i-doit.

alternate text

Now this file is displayed in the import and can be selected. Click directly on the file name to open it.

alternate text

The individual datasets can be selected here. To do so, select the checkboxes for the respective rows. It is possible to import datasets via “Import” or to delete them via the “Delete” button.

alternate text

In our example we select “Import”. If the import is successful, the complete line is displayed in green and is automatically removed. If all lines are successfully imported or deleted, the file is automatically removed as well. Here the object was created successfully.

alternate text

Automatic validation also takes place here. If a field is not filled in correctly, it appears red and the object is not created.

Android

The individual functions of the mobile application are explained in more detail here.

Sync

Get data

Get data means that individual information is obtained from the i-doit CMDB. These specify the way in which further details can be stored. Or this data can also be used as a tool to make work easier. These values must be obtained once, from then on further work is possible without an internet connection. A connection is only required to send the data packages back to the database or to use the online mode in datastore.

Profiles

Profiles are created in i-doit and specify to the user which attributes can be stored in the app and which the CMDB expects in the end. This is how the structure of the various forms is built. In conclusion, this means that at least one profile must be accessible on the mobile device so that datasets can be generated.

CMDB Config

Create your customized profiles in the i-doit ScanIT add-on under the menu item “Export”.

CMDB Config

Click on “Sync” in the home screen and then on “Get Data”.

Note

A continuous internet connection is required for this and make sure that you have entered your i-doit url and apikey under Settings.

CMDB Config

At “Profiles From I-Doit” all profiles are shown which are received from CMDB. Select the profiles you want to work with and click “Update”. The checkbox in the header selects all files.

CMDB Config

A message appears that the profiles have been successfully stored in the local memory.

Note

When you make changes to profiles in i-doit, don’t forget to update the profiles within the app.

CMDB Config

These profiles can be selected immediately at various points to create datasets.

CMDB Config

The creation of the profiles in i-doit determines the structure of the forms and which values are expected.


Lists

Lists enable a better workflow during work. With the preloaded lists, dropdown lists or autocomplete text with attributes are provided for preselection. This allows you to create new datasets in a short time.

Object Types and CMDB Status
CMDB Config

Select the checkboxes “ObjectTypes.csv” and “CMDBStatus.csv” and load the file via “Update”.

CMDB Config

After successful download a message appears.

Note

These two files are needed so that datasets can be created. If these values are changed in the i-doit CMDB, do not forget to reload the lists.

CMDB Config CMDB Config

In the forms, dropdown lists are provided for the selection of values from the CMDB. In this case for CMDB status and Device Type.

Note

The value shown first can be changed as default value in Settings.

Locations
CMDB Config

The “Location.csv” can be obtained for input assistance in locations.

CMDB Config

Press the text field for locations. As soon as letters are entered, an autocomplete is created for all location object types where these letters occur.

Note

With “*” all available location object types are displayed. In Settings you can specify the ids of the location object types to be retrieved from CMDB.


Send data

After the files with the different datasets are complete, they can be sent back to the CMDB. There a change owner has the possibility to check and accept the data.

Click on “Sync” in the home screen and then on “Send Data”.

alternate text

Select the files to be sent to the database. The checkbox in the header selects all files. Press “Send To I-Doit” to start the transmission.

alternate text

It is displayed whether the respective file was successfully synchronized with the CMDB.

alternate text

If there is a file with the same name in the CMDB import, it will be mentioned.

alternate text

The data sent to i-doit will be automatically removed from the device and from the list.

alternate text

After successful transfer, the data supplied can be processed by the change owner under “Import” in i-doit.



Scan

After the profiles have been imported from the CMDB into the application, you can start creating your records. Next to each text field where a “Scan” button exists, it is possible to scan a barcode. You do not need an internet connection for this process.

Create new dataset

Click on “Scan” in the home screen.

alternate text

Select a profile in which the data for the dataset will be entered.

alternate text

Now you see your configured fields from i-doit system. Type into a row for entering datasets by keyboard.

alternate text

Via Device Type and CMDB status you have the possibility to select an attribute by preselection.

Note

The default values of the dropdown lists can be adjusted in Settings.

alternate text

If a date is to be entered, this can be done conveniently via the calendar interface. Click on the “Calendar” button next to the text field.

alternate text

In the text field “Locations” an autocomplete appears after the first letter is entered to help you with the entry.

Note

If no autocomplete appears, make sure that “Location.csv” file was loaded in Sync.

alternate text

After all required values have been entered, the data set can be saved using the “Save” button.

alternate text

A message appears that it has run successfully.

alternate text

To edit or delete the file, go to Datastore and select “Local”. Here you can see the created file.

Note

The filename is: “profilename_username_timestamp.csv”. If more datasets are created with the same profile, username and on the same day, they will all be written to this one file. If the username is changed or the datasets are edited on a different day, a new file will be added automatically. The username can be changed or disabled in Settings.


Scan barcode

To create datasets faster during execution, use the scan function to scan barcodes.

alternate text

It is possible to scan everywhere where there is a “barcode” button next to the text field.

alternate text

Use the “barcode” button to open the barcode scanner.

alternate text

Hold the mobile device to the barcode to capture it.

alternate text

The entered data is transferred to the text field. Click on the “Save” button, to save the dataset.



Datastore

Local

In Local, individual datasets of the saved files can be edited or deleted. At least one file must have been created before this function can be used. If all existing datasets are deleted at once, the file is also disposed of. The files are stored on the local storage and no internet connection is needed for the treatment.

Edit datasets

After a dataset has been created, it is possible to edit it subsequently.

alternate text

Click on the “Datastore” button on the home screen.

alternate text

Now click the “Local” button.

alternate text

Select the file in which you want to change data.

alternate text

All data records of this file are displayed in a table. Select a line you want to edit by clicking a checkbox. And confirm by pressing the “Edit” button.

Note

Only one checkbox may be selected for editing.

alternate text

In this form you have the possibility to change all fields.

alternate text

The change will be applied by clicking the “Update” button.

alternate text

After confirming, you will be taken back to the selection page.

alternate text

You can see all the changed records by scrolling to the right in the table.

Delete datasets

There is a possibility to delete a single or several datasets.

alternate text

Select the file in which you want to delete data.

alternate text

Select a checkbox to delete a dataset from the file. Click “Delete”.

alternate text

The data is deleted and the table is automatically updated.

alternate text

To delete multiple datasets click on the respective checkboxes. If you want to delete all of them, click on the checkbox in the header and all existing datasets will be selected.

alternate text

If all datasets are deleted, the file is also deleted and you return to the Datastore selection page.

alternate text

Go to local again and press the file selector. The file is no longer present.


Online

In Online, it is possible to load information about individual objects from your CMDB directly into the app using a search function or qr scanner. This information can be used to easily create new datasets of similar objects.

Note

A continuous internet connection is required for this.

Search in i-doit

Here you have the possibility to search for single objects in your i-doit CMDB by object title, serial number or inventory number. The attributes of these objects can be loaded into profiles for further processing.

alternate text

An example with a server object. The object has the following attributes: object title “SRVMUCAPPB01” and serial number “7581-3460-8768-3380-9459-6665-20” which we use for the search.

alternate text

Click on the “Online” button in “Datastore”.

alternate text

In the search field, we first search for the object title and enter a partial term.

alternate text

Then press the “magnifying glass” button to start the search.

alternate text

Now all search terms that were found are displayed in a table.

  • Search terms: Term which matched with the search term.
  • Field: Whether the found term is an object title, serial number or inventory number.
  • Type: From which object type the search term comes from.
alternate text

Now we search for the object by serial number. We enter “75” as a search term and receive all results in which a “75” occurs.

alternate text

If the search term is matched with a serial number or inventory number, the object title is given above the search term as a heading.

Note

Select an object by clicking on the respective line of the table.

alternate text

The object title of the selected object is in the heading. Now select a profile into which the attributes will be loaded.

alternate text

The form is filled with the values of the object from the CMDB. These can now be edited further. It is still possible to use the barcode scanner, e.g. to scan in a different serial number. Then click on “Save” to create a new dataset.

alternate text

After successful saving, you will be returned to the datastore selection window.

Scan QR Code
alternate text

In the i-doit CMDB, each object contains a unique qr code. This can be attached directly to the hardware component in order to obtain its information more quickly. If this qr code is scanned, it is possible to load its attributes into a profile for further processing.

alternate text

Click on the “Online” button in “Datastore” and you will be redirected to the “Search in i-doit” page.

alternate text

Click on the “QR Code” button and the QR code scanner will open.

alternate text

Point your smartphone camera to the qr code now. When it is recognized, you will hear a beep and the next page will open automatically.

alternate text

The object title of the scanned object is in the heading. Now select a profile into which the attributes will be loaded.

alternate text

The form is filled with the values of the object from the CMDB. These can now be edited further. It is still possible to use the barcode scanner, e.g. to scan in a different serial number. Then click on “Save” to create a new dataset.



Settings

General

When datasets are saved to local files the naming convention is: “profilename_username_timestamp.csv” or “profilename_timestamp.csv”. Depending on whether the username has been enabled for saving or not.

Enable username information
General :scale: 40% :class: with-shadow

If the slider is moved to the right, the username is included in the file name. In this example, “Operator” is the username.

General :scale: 40% :class: with-shadow
Disable username information
General :scale: 40% :class: with-shadow

If the slider is moved to the left, the username is not included in the file name.

General :scale: 40% :class: with-shadow

Data & Sync

Data and Sync :scale: 40%

To send and receive data, the access data from your i-doit is required. Enter your i-doit url and the corresponding apikey in the respective fields.

Note

Once the profiles and lists have been saved locally on the device, it is possible to create datasets without an internet connection. They can be transferred to i-doit when an connection is available again.


CMDB Config

CMDB Config :scale: 40%

After the app has been installed, no lists are available yet.

CMDB Config :scale: 40%

First download all lists under “Dropdown Lists” in Sync.

Note

All available attributes for “Default Device Type”, “CMDB-Status” and “Default Location Types” are obtained from your i-doit CMDB. If you make changes to these values, we recommend updating the lists in the app.

CMDB Config :scale: 40%

After that all available lists are displayed under CMDB Config.

Warning

It is only possible to create datasets after the lists “ObjectTypes.csv and CMDBStatus.csv” have been downloaded.

Default Device Type
CMDB Config

Under “Default Device Type” all object types of your CMDB are provided for selection.

CMDB Config

The default value is used for all forms where datasets are created. Like for example in “Scan”.

Default CMDB Status
CMDB Config

Under “Default CMDB Status” all available CMDB statuses of your CMDB are provided for selection.

CMDB Config

The default value is used for all forms where datasets are created. Like for example in “Scan”.

Supported Location Types

The list “Supported Location Types” serves as a tool for an autocomplete. This is used in forms for the creation of data sets, e.g. in “Scan”. Here all numbers of the required location object types are specified. For example 84 for country. If you enter single letters or words in the text field location, this autocomplete helps you with suitable locations that can be selected.

CMDB Config

After installation these object type ids are automatically set as default. (84 = country, 85 = city, 3 = building, 26 = room, 4 = rack, 75 = blade chassis)

CMDB Config

These location object type ids can be modified individually. Make sure that there is a space after the comma.

Warning

After each change, the list must be downloaded again so that the changes are applied.

CMDB Config

In the text field of location you can now manage your locations with the help of the autocomplete. The complete path of the respective location is displayed for your overview.


License

becon © 2013-2021 becon GmbH