Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

For Signature 18.04b06 or higher, new service calls cannot be created for inactive service locations from the New Service Call window and from the BOB dashboard in MobileTech. If you want your technicians to be able to create new service calls for inactive locations, you will need to make offline HTML modifications.

Table of Contents

Update the New Service Call Form

To enable service call and service request creation for inactive locations from the New Service Call Form: 

  1. In MobileTech Administration, go to Tools > Launch Woodford.
  2. Open the MobileTech project.
  3. In the left navigation under Components, select Offline HTML.
  4. Double-click entity.
  5. Double-click servicecall.
  6. Select servicecall-form_new.html
  7. From the menu bar, select Edit.
  8. In the Edit window, scroll down to // ----- LOCATION ----- .
  9. Locate the line if  if (afterVersion2018R6) {

  10. Add the comment out slashes // to the front of the following line:
    entity.addFilter().where(SCHEMA.location.Properties.isinactive, 'eq', 'false')

    Expand
    titleView screenshot

    Add the comment out slashes as shown below:


  11. Select Save in the Edit window.
  12. Select Save.
  13. Publish the project
  14. Sync the devices.

Update the BOB Dashboard and BOB Fault List

You will only need to do these steps if you are using the Building Optimization Broker integration and you want to allow for service calls and service requests to be created for inactive locations.

Update the BOB Dashboard

To enable service call and service request creation for inactive locations from the BOB Dashboard: 

  1. In MobileTech Administration, go to Tools > Launch Woodford.
  2. Open the MobileTech project.
  3. In the left navigation under Components, select Offline HTML.
  4. Double-click entity.
  5. Double-click bobdata.
  6. Select bob-dashboard.html
  7. From the menu bar, select Edit.
  8. In the Edit window, scroll down to the following line:  var dynamicActionItems = [];

  9. You will need to remove the following:

    1. In the following line, you will need to remove (afterVersion2018R6 && selected.equipment.islocationinactive) ||
      if ((afterVersion2018R6 && selected.equipment.islocationinactive) || !canCreateCall) { // Remove 1. Create Service Call

    2. In the same section, you will also need to remove the following lines:
      else if (afterVersion2018R6 && selected.equipment.islocationinactive) { // Remove 1. Create Service Call & 3. Create Service Request
      dynamicActionItems.push(actionItems[0], actionItems[2], actionItems[4]);
      }

    Expand
    titleView screenshot

    Remove the highlighted text:


  10. Select Save in the Edit window.

  11. Select Save.
  12. Continue with the steps below.

Update the BOB Fault List

To enable service call and service request creation for inactive locations from the BOB Fault List: 

  1. In MobileTech Administration, go to Tools > Launch Woodford.
  2. Open the MobileTech project.
  3. In the left navigation under Components, select Offline HTML.
  4. Double-click entity.
  5. Double-click bobdata.
  6. Select fault-list.html
  7. From the menu bar, select Edit.
  8. In the Edit window, scroll down to the following line:
    if ((afterVersion2018R6 && location.properties.isinactive) || (!canCreateCall && selected.equipment.statusNo === undefined)) {

  9. Remove ((afterVersion2018R6 && location.properties.isinactive) || as well as the second right parenthesis " )" from the line so that the line displays as:
    if (!canCreateCall && selected.equipment.statusNo === undefined) {

    Expand
    titleView screenshot

    Remove the highlighted text:


  10. Select Save in the Edit window.
  11. Select Save.
  12. Publish the project
  13. Sync the devices.