Hi,
I am new to asp.net Wep application development.
I have executed a search to Livelink successfully using the SearchService EWS. I receive the results using the SingleSearchResponse method.
I would like to link/bind the the asp.net dataview control GridView(or any other appropriate control) to the results returned from my search to Livelink.
How do I do this?
I need to go through the results and make some changes and then display the results in a report format.
This is my code to setup and execute my query:
SearchService. SingleSearchRequest query = new SearchService. SingleSearchRequest ();
query.DataCollectionSpec = "\"LES Access Person Imaging\"" ;
query.QueryLanguage = "Livelink Search API V1" ; // use the Search API for queries
query.FirstResultToRetrieve = 1; // start retrieving results at Result #1
query.NumResultsToRetrieve = 100; // retrieve up to 100 search results
query.ResultOrderSpec = "sortByRegion=OTCreatedBy" ; // sort by the OTCreatedBy region
query.ResultSetSpec = "lookfor1=complexquery&where1=" + APInfo_APID + ":" + userApID + " AND " + APInfo_Account + ":" + userAcctNum;
query.ResultTransformationSpec = new string [] { APInfo_APID, APInfo_APFname, APInfo_APLname, APInfo_Account, APInfo_Entity, APInfo_Broker, APInfo_Year,
APInfo_January, APInfo_February, APInfo_March, APInfo_April, APInfo_May, APInfo_June, APInfo_July,
APInfo_August, APInfo_September, APInfo_October, APInfo_November, APInfo_December, "OTName" };
// Execute the search
SearchService. SingleSearchResponse results = ss.Search(ssOTAuth, query, "" );