Gadget Import
Available from versión 3.3.0 (Moonwalker)
Description
This new gadget (implemented as a Gadget Template) allows you to import records from a file in csv or json format, to an entity.
Template elements
Entity selector:
Download template: this button will open a pop up where you can download the template in csv or json format. This file will have the general scheme with the headers of the columns to take it as a model, and to add the records that will be imported to it. Besides, it adds an example to inform the format of each column.
Element to upload the file: allows to click on it and select the file, or drag it in the marked box.
Once the file is selected, it appears below this area. You only have to click on the Import button to import the data from the file.
In the event that the file is inconsistent, the errors will be displayed in a modal window.
Â
Internationalization
The template is internationalized with the i18n standard implemented in the platform. There is a record under Manage Internationalizations where the internationalization is in English and Spanish. This applies to the elements of the template such as buttons, selectors, etc.
Entity by parameter
The gadget allows defining a parameter by YRK to take it as the initial entity. With this, we manage that you cannot select another entity from the moment the dashboard is accessed.
Â