MobileTech 2022 (9.0)
Breadcrumbs

Enable/Disable Automatic New Form for Empty Lists (optional)

When a technician selects a list tab, if the list has no items, you have the option to have the form to create that item display automatically. You can enable/disable this in Offline HTML for each list by setting the variable autoOpenNewForm to true.

The form auto-open happens the first time you navigate to the corresponding tab within the same instance of the Appointment Completion form.

For example, from the Appointment Completion form, you go to the Inventory tab. The Inventory form automatically opens where you can add the new inventory item. You close the Inventory form without creating a new item (the inventory list is still empty). You click a different tab. Still in the same instance of the Appointment Completion form, when you click the Inventory tab again, the empty Inventory list displays. You would have to select the Add icon to open the inventory form.

The functionality has been added to the following lists. By default, this has been enabled for the Inventory, Purchase Order Detail, and Time Entry (from the Appointment Completion form) lists.

List Name

Offline HTML Entity Folder Name

List File

Default Value

Additional Work

additionalwork

additionalwork-list.html

false

Attachment

attachment

attachment-list.html

false

Change Order

changeorder

changeorder-list.html

false

Change Order Detail

changeorderdetail

changeorderdetail-list.html

false

Inventory

consumedinventory

consumedinventory-list.html

true

Meter Reading

meterreading

meterreading-list.html

false

Note

note

note-list.html

false

Purchase Order Detail Form

purchaseorderdetail

purchaseorderdetail-list

true

Refrigerant

refrigerant

refrigerant-list.html

false

Time Entry (from Appointment Completion)

laborexpense

laborexpense-list.html

true


Enable Automatic New Form for an Empty List

  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 Woodford project.

  5. Select Offline HTML from the left navigation.

  6. Double-click the entity folder.

  7. Double-click the appropriate entity folder. (See the table above for the entity folder name and list file name.)

  8. Select the appropriate entity list and then select Edit.

  9. Scroll down to Initial Settings.

  10. Edit the variable autoOpenNewForm from false to true.

  11. Select Save.

  12. Edit any other lists, if needed.

  13. Publish the project.

  14. Sync devices.

Disable Automatic New Form for an Empty List

The steps are almost identical to the above steps, except that you will be editing the variable autoOpenNewForm from true to false.