AnsweredAssumed Answered

Acknowledge event frame via AF SDK

Question asked by mikespath on Apr 5, 2017
Latest reply on Apr 5, 2017 by Mike Zboray

Hello:

I've done some digging on this but have not found the solution. I'm trying to use the AF SDK (2016) to acknowledge all event frames. I have started by doing the basic search below then to loop through each AFEventFrame but the property is read only. Can you point me the right way?

Thanks

 

          // Basic Query 
            string query = "Start:>=*-35d";
            //search 
            AFEventFrameSearch search = new AFEventFrameSearch(db, "search", query);
            MessageBox.Show(string.Format("Total EF match critiera: {0} ", search.GetTotalCount()));
            IEnumerable<AFEventFrame> eventFameResults = search.FindEventFrames(0, true, int.MaxValue);
              // pick through Event Frame to test and acknowledge
            foreach(AFEventFrame ef in eventFameResults)
            {
                ef.CaptureValues();
            }

Outcomes