You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »


Introduction

The userview Import Menu is a feature to import bulk data (in a .csv or Excel file) into a specific Joget form. The Import Menu properties allow you to perform simple column-to-field mapping. When importing records, you can specify the following import mode:

During import, you can click the "Validate data" checkbox to perform data validation based on the form field validation rules.



Figure 1: Import Menu in Userview


Import Menu Properties

Configure Import Menu



NameDescription
Custom ID

Item link slug. Optional field.

Unique field

Value defined here must be unique to the rest of the Userview Menus as the first matching name will be called upon.

Figure 3: Import Menu Properties



LabelMenu label.
Form

Specify on where to store the data by choosing a target form.

How storing works?

The target form's store binder will be called upon for data storage.

Post Form Submission Processing

Any Tool mapped under Post Form Submission Processing of the target form will be triggered each time a record updated or created.

Important: The tool mapped will be triggered regardless of the Run Tool on attribute.

Column Mapping
NameDescription
Column Number

Column number from the source file. Column number starts from zero.

Field Name

Corresponding element ID in the form set above to be mapped to.

If you are referring to a Subform in the target form, remember to prepend the field name with subform element ID followed by an underscore.

Example

Subform ID: subform

Form ID set in the Subform: child

Field ID in the subform: name

Field Name: subform_child_name

Key Column NumberDefine column number that defines the record id. Column number starts from zero.
Start From Row NumberDefine which row number to start processing. Row number starts from zero.
Custom CSV Delimiter CharacterSymbol to represent the delimiter separater.
Custom CSV Quote CharacterSymbol to represent the regular quote character.


Figure 4: Import Menu Properties - Actions

NameDescription
Confirmation MessageConfirmation Message.
Message shown when error occurMessage shown when error occur.
Message shown after data importedMessage shown after data imported.
Redirection (Hyperlink)URL to redirect.


Figure 5: Import Menu Properties - UI

NameDescription
Custom HeaderCustom Header in HTML.
Custom FooterCustom Footer in HTML.
Disable delete record featureDisables the option for end users to delete records.


Figure 6: Import Menu Properties - Advanced

NameDescription
Userview Key Name

Corresponding element ID in the form set above to be mapped to (same like the mapping in "Column Mapping" above).

When defined, the Userview Key value will be saved into the field defined here.

UTF-8 Encoding Checking?When checked, it will check the uploaded file if it is a valid UTF-8 encoded file.


Example:

With the configurations above, we will attempt to import the following data in the screenshot below.

Figure 7: Source data highlighting data that will be imported into the target form's database table (master)


Figure 8: Data written into the form table (master)


Figure 9: Source data highlighting data that will be imported into the target form's subform's database table (child)


Figure 10: Data written into the form table (child)



Performance

You can configure the Performance settings in this Userview Element which allows one to cache existing content for improved performance and loading speed. Read more at Performance Improvement with Userview Caching.



Import Joget Users

The Joget User Mgnt Utility has an import menu to import user records into Joget DX. You can download the app from Joget Marketplace.


Download Demo App

Download the following sample app and CSV file to demonstrate the use of Import Menu.

APP_jusermanager-user-import-menu.jwa  sample_import_user.csv






  • No labels