3 of 3 people found this helpful
It looks like you can't do it per the AF SDK documentation on the FindObjectFields. Most of the fields returned are light weight and loading an element is a pretty large object!
Also, the FindEventFrames functin is obsolete and you should get better performance out of the AFEventFrameSearch. Loading the elements can be expensive. Perhaps, you can change the template to store information from the element on the event frame.
FindObjectFields is intended to be fast and light-weight by avoiding the overhead of returning full AF Objects. However, for some use cases you will want the full objects. You can do this by calling FindEventFrames on the AFEventFrameSearch instance and getting the Element from the event frames or by using the FindObjectFields to bring back ElementID, then use the AFElement.FindElements call to load by batches of IDs. If you need to traverse several pages of data (the default page size is 1000 entries) then you should consider enable the cache by setting the CacheTimeout on the search.