cancel
Showing results for 
Search instead for 
Did you mean: 

SimpleSearch can only retrieve documents(reports) for enterprise users!!

Former Member
0 Kudos

Good Day Everybody,

i'm using SimpleSearch to retrieve all reports for specific users, the problem is that i'm only able to retirve reports for enterprise users and i can not get reports for domain users, anybody knows why?? or there is another way to do so??

GetDocumentList is working fine but it's only retirves reports for the loged in user only....

also i would like to extacrt all useres which has permession to reports, so would you please give me a hand of help and send me how to do!!!

kindly find below the code i'm using to retrieve all reports for specific users:

//After creating connection, seesion and login using administrator enterprise user

SimpleSearch mySearch = new SimpleSearch();

mySearch.InAuthor = txtUsername.Text;//.Trim();

//mySearch.InName = "";

mySearch.BeginDate = System.DateTime.Now.AddYears(-2);

mySearch.BeginDateSpecified = true;

mySearch.ObjectType = "documents";// "documents";

BusinessObjects.DSWS.BICatalog.SortType[] mySort = new BusinessObjects.DSWS.BICatalog.SortType[1];

mySort[0] = BusinessObjects.DSWS.BICatalog.SortType.NAMEASC;

BICatalogObject[] searchResults= null ;

searchResults = boCatalog.Search(mySearch, mySort, null, null, InstanceRetrievalType.WITHOUTINSTANCE);

if (searchResults != null)

{

foreach (BICatalogObject myBOCatObject in searchResults)

{

Response.Write(myBOCatObject.Name + "----" + myBOCatObject.UID + "" + myBOCatObject.CreationDate + "--" +"<BR>");

}

}

else

{

Response.Write("no documents");

}

Accepted Solutions (0)

Answers (1)

Answers (1)

ted_ueda
Active Contributor
0 Kudos

Which version are you using?

BICatalog is pretty limited, and has been deprecated for more recent versions.

Sincerely,

Ted Ueda

Former Member
0 Kudos

BICatalog Version 11.5.4100.0, If there is a newer version please let me know.

ted_ueda
Active Contributor
0 Kudos

BIPlatform Web Services.

Sincerely,

Ted Ueda

Former Member
0 Kudos

there is no simple search for BIPlatform, so how would i retrive all reports for a specific user??