WebCenter Interaction API  
 

IPTSearchResponse.GetResultSubType Method 

Returns the application-specific type of the result.

For portal objects, possible values are currently: PTUSER, PTGROUP, PTAUTHSOURCE, PTPROFILESOURCE, PTFOLDER, PTCARD, PTADMINFOLDER, PTFILTER, PTSAVEDSEARCH, PTDATASOURCE, PTCARDPROPERTY, PTDOCUMENTTYPE, PTCRAWLER, PTGADGET, PTINVITATION, PTFEDPORTAL, PTGADGETSERVER, PTCOMMTEMPLATE, PTGADGETBUNDLE, PTPAGETEMPLATE, PTWEBSERVICE, PTEXTOPERATION, PTGADGETTEMPLATE, PTJOB, PTCOMMUNITY.

For Collaboration Server items, returns PTCOLLAB.

For Content Server items, returns PTCONTENT.

For Branding Engine items, returns PTCOMMUNITY, so these items appear in the "community" category.

string GetResultSubType(
   int nRank
);

Parameters

nRank
Ungrouped result rank, in the range 0 to (GetReturnedResults()-1).

Return Value

app-specific type of the result, listed above.

See Also

IPTSearchResponse Interface | com.plumtree.server Namespace