I try to get tickets, using this
NSArchiveAgent agent;
NSArchiveListItem[] result = agent.GetArchiveListByColumns2 ("FindTicket", "ticketId,title,status,person/personId", "", "ticketId>'0'", "ticket", 0, 200);
printLine ("Row count: " + result.length().toString());
foreach (NSArchiveListItem i in result) {
Map col = i.GetColumnData();
col.first();
while (!col.eof()) {
print(col.getKey() + ": " + col.getVal() +" - ");
col.next();
}
}
But it only seem to return open tickets.
Why is that - what am I missing?
All Replies (2)
You need to explictely set the ticketdisplayclosed entity
https://docs.superoffice.com/en/api/netserver/archive-providers/reference/FindTicket.html
20 h, 21 m ago | 11:04 AM
Add reply
info
Please log in to post a reply.