MarketplaceListingsCustom ActivityRename Multiple Columns in DataTable

Rename Multiple Columns in DataTable

Bronze Certified

Custom Activity

0 reviews

273

Rename Multiple Columns in DataTable

Bronze Certified

Custom Activity

0 reviews

273


Summary

Rename Multiple Columns in DataTable

Overview

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

Benefits


Published: Mar 5, 2020 | Updated: Dec 18, 2020

Devashish Nigam
Business Analyst

Bangalore, Karnataka, India


License

MIT


Code Language

Visual Basic


Tags


Compatibility

2018.4 and above


Dependencies

None