Pre-Population of New Form

<< Click to Display Table of Contents >>

EQuIS 7  >>  Collect > EQuIS Collect Enterprise > Form Designer > New Form Template >

Pre-Population of New Form

This article describes the process of pre-populating forms with data to be available on the Collect Mobile application. Pre-population of data can be added to any template. Select a data mapping template that will be used to create the data. Link a user report with the desired data to the template and map data to the fields available in the template.

 

As an example, the following steps demonstrate how to use this feature to pre-populate locations into a Collect template and form.

 

1.Create a template. For this example, a Water Level template has been created with the following fields:

WATERLEVEL_V1:SYS_LOC_CODE

WATERLEVEL_V1:MEASUREMENT_DATE

WATERLEVEL_V1:DRY_INDICATOR_YN

WATERLEVEL_V1:WATER_LEVEL_DEPTH

WATERLEVEL_V1:DEPTH_UNIT

WATERLEVEL_V1:TECHNICIAN

WATERLEVEL_V1:REMARK

WATERLEVEL_V1:HISTORICAL_RANGE

 

2.Create a user report form using the Location Information report from either EQuIS Professional or Enterprise. In this example, a springfield_locations user report was created in EQuIS Professional.

Col-Pre_Pop-Pro-User_Report

3.In the Form Template Layout page, click on the PRE POPULATION button to open the Pre Population dialog box.

Col-Pre_Pop-Select_Report

4.Click the SELECT REPORT button to open the Report Chooser and select the desired report. In this example, the user report "springfield_locations" is selected. Click OK.

5.On the Parameters dialog box, click the LOAD button to load the report parameters. Click OK.

Col-Pre_Pop-Report_Load

6.The mapping between the report and template can now be performed. Click on the report table to be mapped. In this example, the report table is V54_Location_info. On the mapping form, select the Target Form from the template and click Add Mapping.

7.Click Add Field and select a field from the form and a value from the report. Extra fields can be added, but in this example,  only the SYS_LOC_CODE is added. The example data mapping is show below.

Col-Pre_Pop-Data_Mapping

8.On the Forms page, create a new form. In this example, the new form is created using the Water Levels template and titled demo_prepopulation. The User Report button can be used to open a specific user report and add extra filters. In this example, only B-30 and B-31 are selected from the location list. Click OK and Save. Note that the form is now pre-populated with the specific report data.

9.The new form with the pre-populated data will be available for download on a mobile device. In this example, the form demo_prepopulation has two records pre-populated with locations B-30 and B-31.

Col-Pre_Pop-Pro-Mobile