How to execute or Where to execute below referred code? Any idea how to implement Content Server XML Search API? Please suggest
// Construct the URL to the XML Search API OTUrl oUrl; oUrl.Set( "http://host.domain/OTCS/cs.exe" ); oUrl.AddQuery( "func", "search" ); oUrl.AddQuery( "where1", oQuery ); // search expression oUrl.AddQuery( "lookfor1", "complexquery" ); oUrl.AddQuery( "modifier1", "" ); // no search modifier oUrl.AddQuery( "within1", "all" ); // search content and metadata oUrl.AddQuery( "slice", "" ); // search Enterprise slice oUrl.AddQuery( "outputformat", "xml" ); oUrl.AddQuery( "startat", 1 ); // first result to return oUrl.AddQuery( "gofor", 20 ); // number of results to return oUrl.AddQuery( "thumbnails", "true" ); // Instantiate cookies object and get browser cookies from HTTP request OTCookies oCookies;
Refer URL:http://mimage.opentext.com/support/ecm/secure/documentation/contentserver/api/content_server_xml_search_api_code_examples.pdf