Skip Navigation LinksALVAO 11.2Admin guideCustom modifications and extensionsCreate object monitors Skip Navigation Links.


Skip Navigation LinksALVAO 11.2 / Admin guide / Custom modifications and extensions / Create object monitors

Create object monitors

This application automatically creates monitor objects in the object tree for monitors that are connected to computers and have been discovered during a hw and sw computer detection.

Note:
As portable computers can be switched between multiple company monitors and even private monitors used at home, monitor detection can be inaccurate.
Tip:
If you don’t mind tracking private monitors in Alvao you can keep this app running permanently. Otherwise, we recommend using it only for the initial import of data and disabling it later. After manually cleaning the private monitors stock up each newly purchased monitor manually.

Initial setup

  1. Download (and extract) the application.
  2. (On-prem) Run the following script on your database: update tProperty set sPropertyValue = isnull(sPropertyValue, '') + ';ObjectCreateMonitors.Setting' where sProperty = 'AdditionalEditableProperties'.
  3. In Administration - Settings - Advanced – New setting: in Name field select ObjectCreateMonitors.Settings, to the Value field enter the json code: { /* For computers under following object(s) perform automatic creation of monitors */ ParentObjectIds: "93", }
    Note:
    For on-premise installation, check that the value of the ParentObjectIds parameter is correct.
  4. In Administration – Applications – Import: select the ObjectCreateMonitors app and click on the Allow button in the command bar.
    Note:
    To add another object, in Advanced settings - ObjectCreateMonitors.Settings - Value enter the id of the object into the value of ParentObjectIds and separate it with comma.

Using the application

  • The application once an hour searches the new hw and sw detection data for monitors.
  • Unless the monitor with the same serial number already exists in the object tree, it automatically creates one next to the computer. (So the monitor has the same parent object as the computer object.) If an unwanted monitor is created (e.g., a private monitor as mentioned above) that you don’t want to track in Alvao, delete it. It will not be re-created, as long as it still exists in the Recycle bin folder in the object tree.
  • The app searches only computers located in the folders specified in the ParentObjectIds parameter, see the ObjectCreateMonitors.Settings in the Administration - Settings - Advanced settings. You can disable the search by clearing this parameter.
  • As an alternative way of creating monitors, use the Create monitor command that is available for computer objects with detected monitors. The command is available only to users who can create monitors in the parent object of the computer.
  • Caution:
    The Create monitor command is visible only on computers with enabled detection and detected monitor.

Disable application

Having finished the initial import of monitors, simply disable/delete the application. You can also recover it later by re-installing it. If you want to disable only the automatic creation of monitors, clear the ParentObjectIds parameter in the ObjectCreateMonitors.Settings in the Administration - Settings - Advanced settings. You still will be able to use the Create monitor command.

 

Did not find what you were looking for? Ask our technical support team.