I am trying to use the GetSelectionMembersArchiveRows to get all selectionMembers in my selection with id = 1.
I have created a short snipit that gets my selection and loops through them:
NSArchiveListItem result = selectionAgent.GetSelectionMembersArchiveRows(1, "associate, orgNr, name");
for (Integer n = 0; n < result.length(); n++)
Map m = result[n].GetColumnData();
print(m.get("associate") + ";" + m.get("orgNr") + ";" + m.get("name") + "\n");
In the documentation(ill put in at the bottom) is says i should include a select-string in GetSelectionMembersArchiveRows (it says its optional but i get nothing back if i dont specify anything here). When i include "assocaite, orgnr, name" it only prints out name in the result:
I have 3 questions regarding this:
1. Can i get ALL columns, without spesifying them individually in the select?
2. Where can i find a list of all valid columns to choose from? Are they dependant on the same columns being used in the selection (this only shows the columns in the GUI, so i assume this is not the case?
3. Can i somehow find what columns are currently being used in the selection, so i can dynamically specify the same columns in my output?
Here is the documentation: