CSM 10.4 Documentation

Home

Set the Location of a Business Object

In the Browser Client, the current location of any Business Object can be set automatically, through location services, or manually, so that you know its location and can access it when necessary.

To set the location of any Business Object:

  1. In CSM Administrator, create a new blueprint or open an existing blueprint.
  2. Select a Business Object, such as Configuration Item > Computer. You can add the Location attribute to any Business Object.
  3. In the right pane, under Structure, select Edit Business Object.
  4. Click Bus Ob Properties.
  5. Select Advanced, then select the down arrow () next to General attributes.
  6. In the Attribute field, enter LocationAware. The Value field can remain (null).
    This makes the Business Bbject location-aware.
  7. Click OK.
  8. Add the Lattitude, Longitude, and Altitude attributes to any single Field in your Business Object:
    1. In the Business Object Editor, select any Field in the list, then click Field Properties.
    2. Select Advanced.
    3. Select the down arrow () next to General attributes.
    4. In the Attribute field, enter LocLatitude.
      The location data will be stored in the Value field.
    5. Repeat steps a - d for Longitude (LocLongitude) and Altitude (LocAltitude).
    Note: Altitude (LocAltitude) is only supported on mobile phones and tablets.

Optional: You can also edit the Business Objects Form to add controls for these fields. For more information, see Forms.

Expressions

Latitude and Longitude Fields can also be added to Expressions or One-Step Actions so you can use them in mapping software such as Google Maps. Use a text Expression on a link label or a button associated with an Action and use the documented URL. For example, if you use Google Maps, the URL will be something like https://www.google.com/maps/search/?api=1&lat,long. Add the Fields for lat,long into your Expression or One-Step Action.


Was this article useful?