Overview

  • Energy efficiency programs can require an evidence pack consisting of the digital assets created during a job.
  • Without the file pack generator, a Dataforce ASAP operator must manually select the assets required using the Jobs Files tab and by hand sorting and building the package.
  • This manual process is both time consuming and error prone.
  • A file pack will collect the assets of a job into a file that is downloaded from the same Jobs Files tab.
  • Similar to your personal computer, a file pack consists of files and directories. File pack configuration could look like:

              EvidencePack.zip
              - [D]Pre Installation Photos
                -- [F]Pre Installation File Category
                  --- Area1_Pre_Install_Photo.jpg
                  --- Area2_Pre_Install_Photo.jpg
                  --- Area3_Pre_Install_Photo.jpg
                  --- Area4_Pre_Install_Photo.jpg
                
              - [D]Post Installation Photos
                  -- [F]Pre Installation File Category
                      --- Area1_Post_Install_Photo.jpg
                      --- Area2_Post_Install_Photo.jpg
                      --- Area3_Post_Install_Photo.jpg
                      --- Area4_Post_Install_Photo.jpg
    
              - [D]Forms
                  -- [F]AssignmentForm
                      --  A30123_Assignment_Form_v1.pdf
                      --  A30123_Assignment_Form_v2.pdf
                      --  A30123_Assignment_Form_v3.pdf
    
  • In this example
    • The name of the file pack is:
      • EvidencePack.zip
    • The directories that contain forms or photos are:
      • [D]Pre Installation Photos, [D]Post Installation Photos, [D]Forms

Creating a File Pack

1. Add a File Pack

  1. Navigate to (Configuration icon) Files/Photos File Packs

  2. Enter the File Pack Properties into the fields at the bottom of the screen
  3. Select the Add File Pack button.

File Pack Property Descriptions

  • Use these descriptions to fill file pack properties

    Property Description
    File Pack ID An ID allocated by Dataforce ASAP
    Pack Name The name of the file pack, which provides a way of identifying it within Dataforce ASAP
    Download File Name The name of the file pack which, once downloaded, can include:
    • {job_id} - Will insert the current job number
    • {ext} - Will insert the file extension, defaults to zip
    Description A brief description of the file pack
    Sort A method of sorting where 0 will appear first
    Form Work Types A method of sorting file packs, 0 being the highest
    Tip: Leave a gap between sort orders, e.g. 10 then 20 rather than 10 then 11. This allows room for future changes
    Valid From & To A method of determining whether the file pack is valid, compared with the job creation date

2. Add File Pack Items

  1. Navigate to (Configuration icon) Files/Photos File File Pack Items

  2. Select a File Pack from the file pack drop down menu
  3. Enter the File Pack Item Properties into the fields at the bottom of the screen
  4. Select the Add Pack File button

File Pack Item Property Descriptions

Property Description
Pack Item ID The Database identifier
File Name Name to generate for each file included; use the variables below to avoid duplicates
Description What this item is to include
File Type Is this item a directory to include forms, data categories or product brochures
Link to a Parent Directory Make this item a sub-directory. Only do so after creating the item, so you know which file pack directories to list
File Pack The file pack to include this item on
From Work Types Restrict the item to forms and files related to that work type.
Required Data Categories Images categories to include for this item.
Required Forms Forms to include for this item.

Variables in Form Names

Data Variable Description
{app_id} The appointment ID
{job_id} The job ID
{file_number} A file number
{form_id} The database ID of the form
{form_name} The name of the form
{category} The form category
{ext} The file extension
{company_name} The company name of the customer
{qid=} A global question answer
{fw_attr_id=} A field worker attribute
{client} Customer’s client name
{agent} The field worker’s agent
{fieldworker} The field worker
{customer_name} Customer’s name
{customer_email} Customer’s email
{customer_phone} Customer’s phone
{customer_mobile} Customer’s mobile

Examples Forms :

  • {app_id}_{form_name}.{ext}
  • {job_id}_{form_name}.{ext}
  • {form_name}.{ext}

Variables in Data Categories (Images)

Data Variable Description
{app_id} The appointment ID
{job_id} The job ID
{file_number} A file number
{area_number} Area number where taken
{file_category} The name of data category
{ext} The file extension
{block_name} Name of the question block where question that the required photo is linked on
{combined_name} Combines {area_number} and {block_name}
{company_name} The company Name of the customer
{qid=} A global question answer
{fw_attr_id=} A field worker attribute
{client} Customers client name
{agent} The field worker’s agent
{fieldworker} The field worker
{customer_name} Customer’s name
{customer_email} Customer’s email
{customer_phone} Customer’s phone
{customer_mobile} Customer’s mobile

Examples for images (not in area):

  • {app_id}{file_category}{file_number}.{ext}

Example for images in area:

  • {app_id}{file_category}{combined_name}.{ext}

FAQ

Q: Will a directory always be included? A: Yes, a directory will be included when there are no assets.

Q: Will the forms always be included? A: The generator only includes files that are relevant e.g. forms that were active when the job was completed. If the form is available under the Job Files tab, it will be included in the pack.

Q: I have a file category that is used in both an assessment and an installation and I want the install images only - is this possible? A: Yes, you can restrict assets used by a Dataforce ASAP worktype.

Where to Next?