cancel
Showing results for 
Search instead for 
Did you mean: 

Undefined Collection Reference

KenroyNembhard
Level 2
I have a massive excel file that I have sent to an undefined collection. With a collection that has fields that are set up in advance, you can reference the column/field by using [collection.field1] With an undefined collection, there are no predefined fields.  How can I reference a column/field when the collection is undefined  
6 REPLIES 6

Hemachanderrao
Level 4
Hi,  You can put a breakpoint after reading the excel data into a collection. Open the undefined collection Data Item->Current Values. You can see the Column names in there. You could then use the same format as a defined collection to reference the fields. ( ex: [Collection dataitem.]   Thanks!

Hemachanderrao
Level 4
Pls check the attachment. Hope this is of help.

Hemachanderrao
Level 4
Pls check the attachment. Hope this is of help.

KenroyNembhard
Level 2
Ok, I'll give this a try.    This should this work without the break, right?

KenroyNembhard
Level 2
Looks like it works! Thanks a bunch!

AndreyKudinov
Level 10
If headers are consisent, you just reference it by header names. If you read without headers, it's Column1, Column2 etc..