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 05:18 PM
Hi All,
Can you please assist me with a code stage to delete multiple columns from a collection , the column names can be specified either as a comma separated strings or collection of columns.
Regards
------------------------------
Sufiya S
------------------------------
Can you please assist me with a code stage to delete multiple columns from a collection , the column names can be specified either as a comma separated strings or collection of columns.
Regards
------------------------------
Sufiya S
------------------------------
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
14-04-20 01:12 PM
Hi Sufiya,
a Blue Prism collection is just a DataTable in .NET.
Did you check the object-methods of a DataTable in Microsoft Docs?
Regards
Christian
a Blue Prism collection is just a DataTable in .NET.
Did you check the object-methods of a DataTable in Microsoft Docs?
Regards
Christian
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-04-20 05:16 PM
Hello Sufiya,
Another option is to use the action 'Split Collection' in the 'Utility- Collection Manipulation' VBO to split the collection in two: one with the column(s) you want and another one with the rest of the columns. This option will save you some code writing to implement a similar code stage.
Hope this helps in your situation!
------------------------------
Jorge Barajas
Blue Prism
Senior Product Consultant
Austin, Texas
------------------------------
Another option is to use the action 'Split Collection' in the 'Utility- Collection Manipulation' VBO to split the collection in two: one with the column(s) you want and another one with the rest of the columns. This option will save you some code writing to implement a similar code stage.
Hope this helps in your situation!
------------------------------
Jorge Barajas
Blue Prism
Senior Product Consultant
Austin, Texas
------------------------------
Jorge Barajas
Blue Prism
Senior Product Consultant
Austin, Texas
