|  | Aqualogic Interaction API | |
| IPTSearchResponse.GetResultPath Method |
Returns the full path to the object, in text form.
Portal documents may live in more than one folder. If so, this method returns one folder path chosen more or less at random, and there is no guarantee that the user has rights to this particular folder (although s/he must have rights to one of the doc's folders). To check this, call GetResultInternalField() and request PT_SEARCH_INTERNAL_FIELD.PT_SEARCH_IF_PARENTIDS; if there is more than one parent (i.e. a space appears in this string) you should not display the path.
Also, the path may not be localized to the user's current locale.
string GetResultPath(
int nRank
);
Parameters
- nRank
- Ungrouped result rank, in the range 0 to (GetReturnedResults()-1).
Return Value
the path, with the caveats listed above
See Also
IPTSearchResponse Interface | com.plumtree.server Namespace