Hi,
Iam working with BOXI Rel 2 and Query Builder. I am trying to retrieve all the crystal
report names under folder (SI_ID = 634974). Please can you advise if this possible?
Many Thanks
shin_11 (BOB member since 2008-01-03)
Hi,
Iam working with BOXI Rel 2 and Query Builder. I am trying to retrieve all the crystal
report names under folder (SI_ID = 634974). Please can you advise if this possible?
Many Thanks
shin_11 (BOB member since 2008-01-03)
Hi.
Could you try with something like:
select * from ci_infoobjects where SI_KIND = 'CrystalReport' and si_parent_folder=634974
good luck!
[Moderator Edit: Added code formatting - Jansi]
Jaimepe (BOB member since 2006-12-10)
I have run the query but the page keeps timing outā¦
It is possible this query can be run via a sql instance?
Thanks
shin_11 (BOB member since 2008-01-03)
I would change the query to
select si_name from ci_infoobjects where SI_KIND = 'CrystalReport' and si_parent_folder=634974
Running select * forces the system to do a lot of work that may not be necessary.
You cannot run this query through anything other than query builder or the SDK. The queries require the Bus Obj framework to collect the information, it is not stored in a simpel data structure.
jwhite9 (BOB member since 2006-07-28)
Hi, thanks for the codeā¦I have tried thatā¦and the results coming back are incorrect. I am expecting a list of 159 reports but every query I have tried keeps bringing back 1000 records in the query builder.
Anyone any ideas?
Many Thanks
shin_11 (BOB member since 2008-01-03)
There is a default limit of 1000 records returned by a query. To change that you need to modify the query.
select top <max # records> si_name from ci_infoobjects where SI_KIND = 'CrystalReport' and si_parent_folder=634974
Replace <max # records> with a number larger than you would expect to be returned. Try 10000 in your case, you should see all the data.
jwhite9 (BOB member since 2006-07-28)
Hi, thanks for the code updateā¦but that did not work. Its missing reports from the results and also duplicating report names.
Thanks
shin_11 (BOB member since 2008-01-03)
Hi HRSā¦please can you advise how your product worksā¦as I have donwloaded itā¦and I am only after report names from folder in the repository. Thanks
shin_11 (BOB member since 2008-01-03)
Regards
HRS
Sushir Patel (BOB member since 2006-04-19)
Hi HRS,
thanks for the above but I am getting error message attachedā¦
Thanks
VB Error 1.doc (64.0 KB)
shin_11 (BOB member since 2008-01-03)
Please read the instructions on the dowload page regarding changing the libraries to that of XI R2.
Sushir Patel (BOB member since 2006-04-19)
HRS, sorry but I cannot find instructions to change the libraryā¦I have never used VBā¦
Many Thanks
shin_11 (BOB member since 2008-01-03)
From the first message in the utility downloaded topicā¦
Sushir Patel (BOB member since 2006-04-19)
HRS, that is a brilliant toolā¦many thanksā¦
just one thing, the āprogressā message does not disappearā¦any ideas?
Many Thanks
shin_11 (BOB member since 2008-01-03)
it should, but if it does not, just start again.
I will address that in the next version!
Sushir Patel (BOB member since 2006-04-19)