AnsweredAssumed Answered

Finding Analyses added in a last couple of hours

Question asked by ShivaP21 on Jul 16, 2020
Latest reply on Jul 16, 2020 by Todd.McQuiston

Hi Everyone,


I am trying to build a small app which checks the number of analysis added in the last 'x' hours to the server. 
I was able to do it with the help of AFAnalysisSearch.


using (var analyses= new AFAnalysisSearch(DataBase, "my", "*"))
var analysisfields= analyses.FindObjectFields("ID Name CreationDate", i => new { ID = i[0],Name = i[1] , CreationDate = i[2] });


In this, i have to query all the analyses present in the server and filter them on their creation date.

Is there any other way, I can do the same exercise, just by providing StartTime and EndTime and fetch all analyses created/modified during that time without fetching all the analysis?


PS: AFAnalysisSearch(DataBase, "my", "*") -> In the query parameter, 'CreationDate' didnt work for me.


 Thanks in Advance.