I don't think you can pass on the search criteria to any of the existing Windchill URLs. I think the best option is to create a JSP file which receives the document name, lookup the object and construct a URL and direct the page information page. Below is a code snippet which gives you the URL to latest version of wtdocument.
try {
System.out.println("Entered Search Method");
QuerySpec qSpec = new QuerySpec(wt.doc.WTDocumentMaster.class);
qSpec.appendWhere(new SearchCondition(wt.doc.WTDocumentMaster.class, WTDocumentMaster.NAME , SearchCondition.EQUAL, "First Test Document in Production"), null);
QueryResult qResult = PersistenceHelper.manager.find((StatementSpec)qSpec);
System.out.println("Number of Master Results found : " + qResult.size());
while (qResult.hasMoreElements()) {
wt.doc.WTDocumentMaster obj = (wt.doc.WTDocumentMaster)qResult.nextElement();
QueryResult qLatest = ConfigHelper.service.filteredIterationsOf(obj,new LatestConfigSpec());
if(qLatest.hasMoreElements())
{
wt.doc.WTDocument latObj = (wt.doc.WTDocument) qLatest.nextElement();
if(latObj!=null){
wt.doc.WTDocument latDoc = (wt.doc.WTDocument)wt.vc.VersionControlHelper.service.getLatestIteration(latObj,true);
com.ptc.netmarkets.model.NmOid objectID = new com.ptc.netmarkets.model.NmOid("WTDocument", latDoc.getPersistInfo().getObjectIdentifier());
com.ptc.netmarkets.util.beans.NmURLFactoryBean URLbean = new com.ptc.netmarkets.util.beans.NmURLFactoryBean();
String url = NetmarketURL.buildURL(URLbean, "object", "view", objectID);
System.out.println("URL to document " + latDoc.getName() + " is : " + url);
}
}
}
}
catch(WTException e)
{
e.printStackTrace();
}
}