search - What fields are available in the GetString method of the SharePoint 2007 ResultTable object? -
i writing custom search results page , want use of metadata available within resultstable object categorize , mark results. aware, example, if have resulttable rt , run rt.getstring(5), path item matched search, , if run rt.getstring(13) can string (containing numeric value) indicating if url points binary file. know other parameters method possible , return. in particular hoping 1 of parameters cause method indicate if search result subweb vs folder.
using getname method on same object discovered there 15 values. names shed light on are:
0: workid //eg "867" 1: rank //eg "861" 2: title //eg "untitled document" 3: author //eg "system account" 4: size //eg "5366" 5: path //eg "http://myserver:42801/pages/test.html" 6: description //blank me 7: write //eg "03/17/2010 10:28:29" 8: sitename //eg "http://myserver:14286" 9: collapsingstatus //eg "0" no idea means 10: hithighlightedsummary //eg "test page 2" 11: hithighlightedproperties //eg "untitled documenthttp://myserver:42801/pages/test.html" 12: contentclass //eg "sts_listitem_850" 13: isdocument //eg "1" 14: picturethumbnailurl //blank me
Comments
Post a Comment