%@ Page language="c#" Codebehind="Properties.aspx.cs" AutoEventWireup="false" %>
Search Properties
<%
Hashtable map = (Hashtable) Session["resultsMap"];
if (null == map)
{
Response.Write("unable to retrieve map of results. Try running the search again");
return;
}
String ptrank = Request.Params.Get("ptrank");
if (null == ptrank)
{
Response.Write("no rank supplied- this page can only be accessed from the client_test page");
return;
}
Plumtree.Remote.PRC.Search.IPortalSearchResult result = (Plumtree.Remote.PRC.Search.IPortalSearchResult) map[ptrank];
if (null == result)
{
Response.Write("unable to search result. Try running the search again");
}
Response.Write(" Properties
");
Response.Write("");
Response.Write("Name | " + result.GetName() + " |
");
Response.Write("Rank | " + result.GetRank() + " |
");
Response.Write("Class ID | " + result.GetClassID() + " |
");
Response.Write("Object ID | " + result.GetObjectID() + " |
");
Response.Write("Created Date | " + result.GetCreated() + " |
");
Response.Write("Last Modified Date | " + result.GetLastModified() + " |
");
Response.Write("
");
%>