Create Table
Create Table feature enables you to create a table in the specified range in the excel.
Using Create Table feature
- Make sure the prerequisites for using Office 365 activities are met.
- In the Canvas Tools pane, click Office 365 Services to expand the tool and view the associated activities.
- Drag the Excel 365 activity inside the Office 365 Application Activity. Ensure that the output token of the OAuth process is passed on to the Excel activity for authentication. For more information, see OAuth Activity.
- The validation error symbol disappears when you select relevant values in the particular field from the available list. For example, Access Token, Create Table, and Output.
- The validation error symbol disappears when you select relevant values in the particular field from the available list. For example, Access Token, Create Table, and Output.
- In the Access Token list, select the output parameter holding the value of access token from the OAuth activity to pass in the Excel 365 activity. For more information, see OAuth activity.
- In the Feature list, select Create Table.
- Click the
(Setting) icon to configure the input configuration. The Input Configuration screen appears.
- Ensure to define all the input parameters as an in argument in the Parameter bar for selection in the mandatory and advanced options.
- Mandatory Options:
- In the workbook, select the parameter holding the path along with workbook name or name (if workbook is in root folder) of the workbook wherein you want to create a table. For example, FolderName/WorkbookName.xlsx. Ensure to add the extension of excel while providing the name of workbook. i.e.xlsx.
- In the worksheet, select the parameter holding the name of the Excel sheet in which you want to create a table.
- In the name, select the parameter holding the name of the table that you want to create.
- In the address, select the parameter holding the excel range representing the data source for creating the table.
- In the hasHeaders, you can insert values into the table and not header.(i.e., column name).The field only supports Boolean values i.e., True or False. The default value is False. In case, value is set to true, then the header row is included in the provided range. In case, value is set to false then, a new row will be added to the provided range.
- Advanced Options:
- In the value, select the parameter holding the values must be type of data table.
NOTE:
You can only insert the values into the table and not the headers (i.e., Column names).
- In the value, select the parameter holding the values must be type of data table.
- You can select the Is Default Value checkbox to set the selected input parameter as the default value.
- Once done, click Confirm.
- Mandatory Options:
- Click the
- In the Output list, select the argument which should store the result. The argument should be of Out Direction.
- Save the process.
- In the Tool bar, click Setup Environment.
NOTE:
You must select the relevant scope as per the activities in the automation process.
- Once environment setup is completed perform the Test Run. The studio console will display the successful message with the required output else, output will be blank.
- Output is of the format : Table Created Successfully.
- Output is of the format : Table Created Successfully.