Successfully!

Error!

You are viewing 10.0 help doc. More details are displayed in the latest help doc

Data Entry Stash (Temporary Storage)

I. Overview

1. Application scenarios

Filling can be saved temporarily means that the filling content can be archived. After the operation is interrupted, reopening the filling page can automatically read the file and continue filling.

As shown in the figure below, the filled data will remain after the page is refreshed.

Kapture 2021-01-08 at 17.05.49.gif


2. Functional logic

  • Including two ways of manual staging and automatic staging.

  • Staging data is saved in the platform database. After the clear function is used or the submission is successful, the temporary data will be deleted.

  • Temporary data is saved according to the logged in user.

  • It does not support temporary images and files uploaded by the file control, mobile terminals, and templates with charts are not supported.

  • Does not support staging page data based on different query parameters

II. Temporary storage mode

1. Manual stash

Manual stash refers to adding a Stash button in the data entry toolbar. After clicking this button, the filled data will be archived.

Add button method: Designer menu bar, click Template >  Web Attributes, open the editing interface, select Data Entry Settings > Individually set for the template, selectStash button, add to the top toolbar.

2021-01-08_17-00-02.png

When data entry preview, the manual save operation is shown in the following figure:

Kapture 2021-01-08 at 17.05.49.gif


2. Auto stash

Auto stash means that as long as the user fills in the data, the system will immediately archive the data.

Setting method: in the designer menu bar, clickTemplate >  Web Attributes, open the editing interface, select Data Entry settings > Individually set for the template, and check Auto Temporary Storage.

2021-01-08_17-02-05.png

When filling in preview, the effect of automatic temporary storage is shown in the following figure:

Kapture 2021-01-08 at 17.08.02.gif


III. View temporary storage

The temporary data stored in the fineDB database PUBLIC.FINE_WRITE_STASH table.

1. New data connection

In the designer menu bar, click Server > Define Data Connection to create a new JDBC data connection, as shown in the following figure:

2021-01-08_17-10-55.png

The connection configuration is shown in the following table:

AttributeValue
Databaseothers
Drivercom.fr.third.org.hsqldb.jdbcDriver
URLjdbc:hsqldb:file://${ENV_HOME}/embed/finedb/db
User namesa
Passwordno password required

Note: the URL in the table is common under Windows/Linux/Mac.


2. View temporary data

Create a new data query dataset, select fineDB as the database, and the sql statement is:

select * from PUBLIC.FINE_ WRITE_ STASH

PUBLIC.FINE_WRITE_STASH contains the temporary data, as shown in the figure below


The fields of the table are described as follows:

Field
Description
IDprimary key
DATAtemporary data, save as CSV format, cell + content
REPORTPATHreport path, physical path, not platform path
USERNAMEUser name

IV. Empty temporary storage

Add a clear button in the toolbar. Click this button to manually clear the stored data.

Add button method: Designer menu bar, click Template >  Web Attributes, open the editing interface, select Data Entry Settings > Individually set for the template, select Clear button, add to the top toolbar.

截屏2021-01-08 下午5.15.08.png

When data entry preview, the manual clearing operation is shown in the following figure:

Kapture 2021-01-08 at 17.18.00.gif

V. Precautions

The data decision system does not open the template authentication, users do not log in to the system, they can directly access the filling template through the URL.

At this time, the temporary data, database tables PUBLIC.FINE_ WRITE_ The username field of static is empty. The data temporarily stored by different users can be shared and viewed with each other.

If you want to avoid the above problems, the decision system needs to turn on the template authentication, and force the user to view and operate the template after logging in. For the method of turning on the template authentication, see the document: template authentication

Attachment List


Theme: Data Entry
Already the First
Already the Last
  • Helpful
  • Not helpful
  • Only read

Doc Feedback