03-24-2011 03:04 PM
I am trying to pull all the histories for each contact in the database, this is what i have so far
For Each Contact As Act.Framework.Contacts.Contact In ActApp.ActFramework.Contacts.GetContacts(Nothing)
Dim HistoryList As Act.Framework.Histories.HistoryList = ActApp.ActFramework.Histories.GetHistories(sortcriteria, contact)
The part in red is my issue, I have no clue what I need to put or declare for sort criteria and the sdk is confusing me, I do not really care how it is sorted I just want all the histories for that contact. Any ideas?
03-24-2011 09:15 PM
Matt,
In the sample code with the SDK Sage demonstrates how to use the sort criteria object. In the meantime since you don't care how the list is sorted just put the word "Nothing" there.
Stan
03-24-2011 09:15 PM
Matt,
In the sample code with the SDK Sage demonstrates how to use the sort criteria object. In the meantime since you don't care how the list is sorted just put the word "Nothing" there.
Stan
03-25-2011 08:24 AM
Wow I did not even think to put Nothing in there, that was a quick fix, got it working now. Your the man! Thanks alot stan.