Connect HomeMarketplaceComponentsRename Multiple Columns in DataTable

Rename Multiple Columns in DataTable

Custom Activity

Custom Activity

Updated: September 12th, 2020

Published: February 26th, 2020

Downloads: 9

Language compatibility: Visual Basic

Community Support

Rename Multiple Columns in DataTable

Custom Activity

Summary: 

Rename Multiple Columns in DataTable

System Generated DataTables like Salesforce SOQL Custom Activity generate DataTables with column names such as: sf:Id, sf:CaseNumber, sf:Description etc. In case a developer wants to rename these columns to namely: ID, Case Number, Description etc., that can be done easily by using this activity.

The component requires the following:

Input:
1.) InputColumnsRenameMapping - Dictionary <string, string> where key is "old column name" and value is "new column name"
2.)InputDataTable - DataTable whose columns to be renamed

Output:
OutputDatTable - DataTable with renamed columns

Details

Benefits

Rename multiple columns in a DataTable in one go.

Compatibility

2018.4 and above

Dependencies

None

Licensing

By clicking download you agree to the following license.