Widgets
This section describes widgets designed by administrators. For more details regarding widgets, their configuration, and their uses, see the EnterWorks 10 User Guide.
Generate Import Export Template Widget
The Generate Import Export Template Widget allows the user to generate an empty file to be used to import data into an EnterWorks repository. The administrator configures the file by selecting an Import Template to define the columns in the file, and decides which category attributes will be included along with the global attributes specified by the Import Template. The administrator can also configure the widget to allow the user to choose which category attributes to include.
Generate Import Export Template |
Configuring Generate Import Export Template Widget
To configure a Generate Import Export Template Widget, first configure a new blank widget. For more information on adding and configuring new widgets, see the EnterWorks 10 User Guide.
Select the Widget Settings icon in the upper right of the
new widget’s Activity Bar. Note that a widget’s Activity Bar will not be displayed unless the cursor is
hovering over the top of the widget.
A Widget Configuration window will appear. Select Generate Import Export Template Widget from the Type dropdown list on the far right of the Widget Configuration window. The Generate Import Export Template configuration options will appear.
Generate Import Export Template Widget Configuration |
The Generate Import Export Template options are:
- Title: The title of the widget. It is helpful if the title of a widget reflects the source of the data as well as the widget’s type, for instance “Generate Import Export Template”.
- Repository: The repository the template will be generated for.
- Preference: The Preference View to use when generating the template. If a Preference View is specified, the only category attributes that will be presented for inclusion are those that are in the Preference View.
- Output Format:
The format of the template:
- CSV (Comma Separated Values)
- Excel Workbook (xlsx)
- Excel Workbook (xlsx) with Format:
- The columns of required attributes are highlighted.
- A worksheet named Lists displays any code sets.
- Attributes of type code set will display dropdown menus for user to select a value from the code set.
- Template: The import template that will be used to define the global attributes that will be included in the generated template, and the set of category attributes that are available to be included.
Note: If a Preference View is specified in the Preference option, the selected Preference View acts as a filter. Only category attributes that are in both the selected import template and the selected Preference View will be presented for inclusion in the generated template.
- File Split By Category: If selected, if category attributes are to be included in the generated template, instead of generating one template that lists all the category attributes from all the selected taxonomy nodes, a separate file is generated for each taxonomy node. Each file would include all specified global attributes and only those category attributes that are assigned to the taxonomy node.
For example, if you have four different nodes that each have ten category attributes (with no overlap), not setting this option would produce a file with all the selected global attributes and 40 category attributes. If the File Split by Category option is set, four files would be produced, one for each node, that contain all the specified global attributes and the ten category attributes associated with that node.
- Show Taxonomy in Widget : If selected, the Include Category Attributes from Taxonomy Node selection panel will appear on the widget and the user will be able to select which category attributes to include in the generated template. If it is not checked, the user will not be able to change the list of category attributes to be included in the template.
- Download Button Label : The label to be used in the widget’s button that triggers the generation of the template.
- Include Category Attributes from Taxonomy
selection panel: This is used to define the initial list of category
attributes the user will be able to select for inclusion in the
template if the Include Category Attributes from Taxonomy box is
selected.
Include Category Attributes from Taxonomy
Modify the configuration options as desired. Click Apply to save the changes to the widget and close the Widget Configuration window. Click Cancel to close the Widget Configuration window without saving the changes.