pradeepdsp
Programmer
Hi,
I have created a custom view in Livelink(10.5 Version) with name custom_view.html and this html contains link to two folders Folder1 and Folder2 having objectId 33278 and 33676 respectively.
I have added one more Folder Folder3 at the root level.
All four objects ie custom_view.html, Folder1, Folder2 and Folder3 are at the root level.
But when i use SearchService to retrieve all the records at the root level by passing OTParentID=2000, i am getting only two record
custom_view.html and Folder3, i am unable to retrieve Folder1 and Folder2 details even though it is in root level.
I checked with the permissions for the folders it has see and see content privilege for all three folders.
Is their any setting when custom view is created consisting of link to folders, then these folders should not be retrieved when we use search service.
Below is my sample ServiceService call.
SingleSearchRequest singleSearchRequest = new SingleSearchRequest();
singleSearchRequest.setDataCollectionSpec("'LES Enterprise'");
singleSearchRequest.setQueryLanguage("Livelink Search API V1");
singleSearchRequest.setFirstResultToRetrieve(1);
singleSearchRequest.setNumResultsToRetrieve(10000);
singleSearchRequest.setResultSetSpec("where1= \"OTParentID\":"+2000);
singleSearchRequest.getResultTransformationSpec().add("OTDataID");
singleSearchRequest.getResultTransformationSpec().add("OTName");
singleSearchRequest.getResultTransformationSpec().add("OTModifyDate");
singleSearchRequest.getResultTransformationSpec().add("OTCreateDate");
singleSearchRequest.getResultTransformationSpec().add("OTFileType");
singleSearchRequest.getResultTransformationSpec().add("OTVersion");
singleSearchRequest.getResultTransformationSpec().add("OTParentID");
singleSearchRequest.getResultTransformationSpec().add("OTDocTitle");
singleSearchRequest.getResultTransformationSpec().add("OTSubType");
singleSearchRequest.getResultTransformationSpec().add("OTDataSize");
singleSearchRequest.getResultTransformationSpec().add("OTLocation");
SingleSearchResponse results = searchService.search(singleSearchRequest, "");
results contain only two Records
I have created a custom view in Livelink(10.5 Version) with name custom_view.html and this html contains link to two folders Folder1 and Folder2 having objectId 33278 and 33676 respectively.
I have added one more Folder Folder3 at the root level.
All four objects ie custom_view.html, Folder1, Folder2 and Folder3 are at the root level.
But when i use SearchService to retrieve all the records at the root level by passing OTParentID=2000, i am getting only two record
custom_view.html and Folder3, i am unable to retrieve Folder1 and Folder2 details even though it is in root level.
I checked with the permissions for the folders it has see and see content privilege for all three folders.
Is their any setting when custom view is created consisting of link to folders, then these folders should not be retrieved when we use search service.
Below is my sample ServiceService call.
SingleSearchRequest singleSearchRequest = new SingleSearchRequest();
singleSearchRequest.setDataCollectionSpec("'LES Enterprise'");
singleSearchRequest.setQueryLanguage("Livelink Search API V1");
singleSearchRequest.setFirstResultToRetrieve(1);
singleSearchRequest.setNumResultsToRetrieve(10000);
singleSearchRequest.setResultSetSpec("where1= \"OTParentID\":"+2000);
singleSearchRequest.getResultTransformationSpec().add("OTDataID");
singleSearchRequest.getResultTransformationSpec().add("OTName");
singleSearchRequest.getResultTransformationSpec().add("OTModifyDate");
singleSearchRequest.getResultTransformationSpec().add("OTCreateDate");
singleSearchRequest.getResultTransformationSpec().add("OTFileType");
singleSearchRequest.getResultTransformationSpec().add("OTVersion");
singleSearchRequest.getResultTransformationSpec().add("OTParentID");
singleSearchRequest.getResultTransformationSpec().add("OTDocTitle");
singleSearchRequest.getResultTransformationSpec().add("OTSubType");
singleSearchRequest.getResultTransformationSpec().add("OTDataSize");
singleSearchRequest.getResultTransformationSpec().add("OTLocation");
SingleSearchResponse results = searchService.search(singleSearchRequest, "");
results contain only two Records