Create Position Object—Exercises

Basic Data Setup

Enable Virtual Map Service on an Object

Purpose: The purpose of this exercise is to enable the virtual map service for a business object.

Windows:
Object Connections

  1. Open the Object Connections window. 
  2. On the row for the required object, ActiveSeparate, in the Service List column add VrtMapPosition^.
  3. Save your changes.

Required Data

Create Work Order

Purpose: The purpose of this exercise is to show you the required data that is used in the exercises below.

Windows:
Prepare Work Order

  1. Create new work orders (F5).

General exercise for Create work order

Define Virtual Map Settings

Purpose: The purpose of this exercise is to show you the required data that is used in the exercises below.

Windows:
Map Settings

  1. Open the Virtual Map Settings window.
  2. Click Auto-Configure.
  3. In the Configuration field, select ActiveSeparate.
  4. Click the Search Source tab and in the Search Source field, select Work Order
  5. Save your changes
  6. In the Information Box field on the Information tab, select Detail.
  7. In the Editor field, click once at the end of the html code.
  8. Select Planned Completion in the Available Fields list and click Name and Value >>. In the Preview field observe that the Planned Completion has been added as the last field.
  9. In the Editor field, click once at the end of the html and then click Line Break >>.
  10. Click WO No and then click IFS Link >>.
  11. Click the Icon tab and click Change Icon. Select a different icon from the available list. Click OK.
  12. In the Icon field, move the icon relative to the axis provided. Observe that the values for the Horizontal Offset and Vertical Offset have changed accordingly.
  13. Change the values for the Height and Width fields, if required.
  14. Click the Alerts tab and click Add Alert.
  15. Click the Change Image link and select an image apart from the default image. Click OK.
  16. Click Add Criteria. Select the following values in the given fields:
Field Value to enter
Field Planned Completion
Comparer Less Than
Value Today (Use the date picker to select the date in the format of your regional settings)
  1. Click the Routes tab.
  2. Select the Enable Routes check box.
  3. In the Type of Route list, click Draw along Roads.
  4. In the Arrow Direction Field list, click Planned Start.
  5. In the Arrow Direction list, click Ascending.
  6. In the Field list under Group By, click Planned Start.
  7. Click Add Color Criterion. Select the following values in the given fields
    Field Value to enter
    Field Planned Start
    Comparer Equal To
    Value Today (Use the date picker to select the date, in the format of your regional settings, that the work orders were created)
    Color Red (Use the color list to pick Red)
  8. Save your changes.

Main Exercise

Purpose: The purpose of this exercise is to create a position object on the Virtual Map which will be connected to a business object.

Windows:
Prepare Work Order

(Note: Only available in IFS Enterprise Explorer)

Create Position Object

  1. Open the Prepare Work Order window and query for the work order created in the required data exercise.
  2. In the Completion field enter a day prior to today.
  3. On the Attachments Panel click Map Positions.
  4. Right click on the table and click Add Position. Enter the longitude and latitude of the business object. Right click and click Save Changes.

or

  1. Alternatively, right click and click View Map view and click Add Position at the required position on the map.
  2. Right click and click View Large Map.
  3. Observe that the position object has the alert icon defined in the previous exercise.
  4. Click on the position object and observe that the detail information display has the fields defined in the previous exercise.