Skip to main content
Skip table of contents

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 NameOffline HTML Entity Folder NameList FileDefault Value
Additional Workadditionalworkadditionalwork-list.htmlfalse
Attachmentattachmentattachment-list.htmlfalse
Change Orderchangeorderchangeorder-list.htmlfalse
Change Order Detailchangeorderdetailchangeorderdetail-list.htmlfalse
Inventoryconsumedinventoryconsumedinventory-list.htmltrue
Meter Readingmeterreadingmeterreading-list.htmlfalse
Notenotenote-list.htmlfalse
Purchase Order Detail Formpurchaseorderdetailpurchaseorderdetail-listtrue
Refrigerantrefrigerantrefrigerant-list.htmlfalse
Time Entry (from Appointment Completion)laborexpenselaborexpense-list.htmltrue


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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.