Excel Work
Once you define the template in the previous steps of the Excel Template, you configure how the data will be processed during upload and map the data from the file to the Tables and Columns registered in CALS Studio.
- How to Create
Select the
Utility>Excel Workmenu in theObject Explorer.Click on the
Newbutton in theExcel Sheet WorkList to register a newExcel Work.
Define the name, and in the
Sheet Namefield, select the Sheet registered in the Template File Sheet List of theExcel Templatefor registration. You can choose one of the followingoperation methods: Insert, Update, or Delete, and select the Table where you want to process the data as the Target Table.
In the
Excel Cell WorkList, you define the properties of the Excel Sheet's columns. You can set attributes such as Required, the Table and Column in CALS to which it maps (Target Column), etc. You can choose the valueFixedin the Work Cell Type to set it as a fixed value.Configallows you to define arbitrary parameters to determine values based on parameters. For example, you can pass on data retrieved from Components on the screen where data is uploaded or values such as sequence numbers generated at the time of upload. You can also useTransformto define new values by combining values from the worksheet. The purpose of theExcel Cell RuleList is to restrict the types for each value (e.g., Number).You can create an Upload Button in Components using the defined
Excel TemplateandExcel Work, and then set up anExcel ImportService to use it.