Hi. I need to build the Data tables using the String names present in a Dynamic array. Please help me.
Please follow the below steps to achieve your requirement.
-
Use your dynamic array and assign to string array.
-
Use For each loop to each and every column value mentioned in the string array dynamically one by one.
-
Use Add data column Assign column name as item.tostring and assign empty data table (use data table variable assign default value new Data table so it creates empty data table)
-
After for each loop ends it creates datatable with the the columns you available in the dynamic array.
i hope the above steps might helpful to your requirement. please review the attached work flow for your reference. thanks.
DynamicDatatableCreation.xaml (7.4 KB)