Hi Steve,
I am glad to hear that. When using SearchHelper.Search, it returns a dataset. Looking at a single row, the id field contains up to 3 bits of information, e. g. e.g. id = 126;126_cms.document. First part is node id, second document id and the third the class name. So you can split the string and parse the document id or node id out and use it for accesing the document and its data. You could take an inspiration from code example below.
// Get Datarows for current results
Hashtable resultRows = RequestStockHelper.GetItem(SearchHelper.RESULTS_KEY) as Hashtable;
// Check whether id and datarow collection exists
if ((id != String.Empty) && (resultRows != null))
{
// Get current datarow
DataRow dr = resultRows[id] as DataRow;
// Check whether datarow exists and contains required column
if ((dr != null) && (dr.Table.Columns.Contains(columnName)))
{
// Return column value
return dr[columnName];
}
}
where ID is available in the dataset. I hope it helps.
Regards, Roman Konicek