Versions Compared

Key

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

...

  1. In MobileTech Administration, select Tools > Launch Resco Cloud Dashboard. 
  2. Enter the Email and Password and select Log in
  3. In the left navigation, select Woodford.
  4. Open the MobileTech with Inspections Woodford project and go toOffline HTML > utility > questionnaire.
  5. Select link-appointment.js and select Edit from the top navigation.
  6. In the Links section, enter the inspection name in the validation array based on the validation level (WARNING or REQUIRED). Enter the inspection name as it is in the Questionnaire Designer.
    In this example, the technician will be warned that an inspection hasn't been completed when they attempt to complete the service appointment:


    In this example, the technician is required to complete the inspection before they can complete the appointment:
  7. (Optional) If you want to limit to specific value such as a service call type or equipment type,  you you will need to add the field and field value that will determine if an inspection is needed. Enter the field name as it is the schema. If the field name is a lookup, then add "_name" to the end of the field name. For example, equipmenttypeid_name. See below for information on using a wild card character.

    For example, to limit to a service call type of "AS", you would need to add lines for the field name of "gpcalltype" and the value of "AS".

  8. Save the file.
  9. In the MobileTech Inspections Woodford project go to Offline HTML > Utility > questionnaire , and select Upload.
  10. Select the edited link-appointment.js file and select Open.
  11. Select Save.
  12. Publish the project.

Using Wild Cards

If you are limiting to a specific value (step 7 above), you have the option to use wild card character functionality. This would provide you with the ability to group similar entities. 

The wild card character's default value is %, however, you can edit this by updating the wildCardChar variable value found in utility\questionnaire\link-appointment.js. This wild card character can be used on any field for the service call, job, or equipment. 

Note

The wild card character can only be added to the beginning or end of the entity's field value, For example, %AMP SERVICE or AMPSERVICE%. Not allowed would be AMP%SERVICE.

An example of how this might be used so that anything equipment type that ends with AMP SERVICE or anything that has ROOF TOP UNIT with text before or after in the name:

Image Added