Delete Multiple Columns from Collection using Code stage
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-04-20 04:14 PM
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-04-20 04:29 AM
Hello Shaikh
You can remove the columns from the collection following the below steps
1. Declare a datatable in the code stage
2. Copy the input collection into that datatable.
3. Remove the column using the following snippet:
------------------------------
Karan Sareen
Solution Support Engineer
Blueprism
Australia/Sydney
------------------------------
You can remove the columns from the collection following the below steps
1. Declare a datatable in the code stage
DataTable t;
2. Copy the input collection into that datatable.
3. Remove the column using the following snippet:
t.Columns.Remove("columnName1");
t.Columns.Remove("columnName2");
4. Now, assign the datatable to the output collection.
------------------------------
Karan Sareen
Solution Support Engineer
Blueprism
Australia/Sydney
------------------------------
