Hi
Can somebody help me to understand what is mean by Query Builder in BO and where can I find it and its uses?
Thanks.
stvel (BOB member since 2007-10-04)
Hi
Can somebody help me to understand what is mean by Query Builder in BO and where can I find it and its uses?
Thanks.
stvel (BOB member since 2007-10-04)
You can get some info out of Query Builder, here are some notes to help:
BO XI R2 Query Builder Notes
Note: Query Buiilder Navigation: Use the XI Launchpad URL and Query Builder is listed in the lefthand navigation links.
I red somewhere on forum:
Some Queries:
To get all universe data including a WebI report list
SELECT *
FROM CI_APPOBJECTS
WHERE SI_KIND=‘Universe’ AND SI_NAME=‘CCE Mass Channel’
To list all WebI reports when objects exceed 1000
SELECT SI_TARGETID,SI_KIND,SI_UPDATE_TS,SI_NAME,SI_ID,SI_SENDABLE,SI_OWNER,SI_FILES,SI_DESCRIPTION,SI_UNIVERSE,SI_PARENT_FOLDER,SI_OWNERID,
SI_SUBMITTERID,SI_STARTTIME,SI_ENDTIME,SI_WEBI_PROMPTS,
FROM CI_INFOOBJECTS
WHERE SI_KIND=‘Webi’ and SI_NAME > ‘L’
To list all report folders containing a string
SELECT *
FROM CI_INFOOBJECTS
WHERE SI_NAME LIKE ‘%Dealer%’ AND SI_KIND=‘Folder’
SELECT SI_NAME, SI_SHORTNAME, SI_DESCRIPTION, SI_ID, SI_PARENT_FOLDER, SI_OWNER, SI_CREATION_TIME
FROM CI_APPOBJECTS
WHERE SI_KIND=‘Universe’
aniketp (BOB member since 2007-10-05)
Some facts are wrong in the above post.
There is a registry setting on the server that we need to change.
XXX (BOB member since 2007-09-04)
You can use TOP n to retrieve more than 1000 rows:
SELECT TOP 1000000 * FROM ci_infoobjects
joepeters (BOB member since 2002-08-29)
Can you tell us what is that setting ?
Moderator edit: Rude comment removed. - Michael
aniketp (BOB member since 2007-10-05)
Hi Aniket,
Can you please help me getting the users list with their associated folders using query builder in R3 ?
I tried with your queries, but couldn’t get the result.
I even checked with the below URL for the properties on CI_INFOOBJECTS, the result is same. The properties such as SI_USERGROUPS doesn’t give any result.
Can you help on some queries with BO XI R3.
[/url]
nvlashok (BOB member since 2005-10-20)
You can use TOP n to retrieve more than 1000 rows:
SELECT TOP 1000000 * FROM ci_infoobjects
YOU STAAARRRRRRRR!!! WOO HOO!!!
We’ve breached 1000 reports on our weekend run now and this was causing us some real issues when checking statuses. NOT ANYMORE THOUGH!!
Thanks Joe - Thanks BOB!
rob_bo (BOB member since 2005-08-04)
Hi Aniket,
Can you please help me getting the users list with their associated folders using query builder in R3 ?
Query Builder does not expose security information so it is not possible to do what you are looking for with this tool.
BoB LoblaW (BOB member since 2007-10-23)
CAN i get information from CMS that when event is triggered how many jobs are running based on it.
i have 15 events triggered during the day so i need to know trace how many jobs based on each event is running or failing.
BOnd007 (BOB member since 2009-08-11)
CAN i get information from CMS that when event is triggered how many jobs are running based on it.
I don’t know of a way to accomplish this efficiently without involving the SDK. It may be feasible to use a very manual method if you don’t have many jobs using an event and you use XI 3.x. Get the event ID then query for all your pending jobs using and event with this query:
select si_name, si_scheduleinfo from ci_infoobjects where si_runnable_object = 1 and si_scheduleinfo.si_dependencies.si_total > 0
You would then use the find feature in the browser to find instances of the event ID.
BoB LoblaW (BOB member since 2007-10-23)
One of the SAP support team folks briefly touched on Query Builder when I logged a message on a different subject. He was vague as to the status of it.
Is it ‘AE’-ware available on a user-beware basis, or a fully-supported part of the suite?
twofivepie (BOB member since 2008-10-16)
I have not heard of anything to suggest Query Builder is unsupported. In fact, SAP techs often use it when troubleshooting tickets with my system and I use it almost daily.
BoB LoblaW (BOB member since 2007-10-23)
Is there a manual?
twofivepie (BOB member since 2008-10-16)
The closest thing to a manual I’ve seen is the developer guide. There is a section titled How do I use the query language to retrieve objects from the CMS repository? which provides a basic overview.
BoB LoblaW (BOB member since 2007-10-23)
i need to get information of all users and their groups…how should i go about this.
i am using BO XIR3.1.
BOnd007 (BOB member since 2009-08-11)
For group membership, you could start with something like the following:
select top 50 si_id, si_group_members, si_usergroups
from ci_systemobjects
where si_kind = ‘UserGroup’
The contents of the si_group_members will contain the SI_IDs of the users within the group.
You can then lookup information on the users:
select top 50 si_id, si_name, …
from ci_systemobjects
where si_kind = ‘User’
With this approach you’ll need to hack together the 2 sources of information to get anything approaching a report format.
crystal01 (BOB member since 2006-08-30)
Here is a little excel file with a bit of VBA code to extract from a CMS the complete list of user and the list of groups each user is member of. Quite useful when you need to check group membership Its now possible to edit the CMS data, simply by modify entries in the Excel File. You need then to export your modification back to the CMS. Modifiables column are : Login, FullName, Email, Disabled and Description. Platform: BO XI R2 / BOXI3.1 (it’s necessary to change the libs to fits XI3.1, s…
MikeD (BOB member since 2002-06-18)
how i can get disable users list from query builder. i am using BO XI R3.1.
i tried to use tool mentioned above but it gives session manager error.
BOnd007 (BOB member since 2009-08-11)
do anyone have PDF of Query Builder Guide ? if could share that would be very great help…
thanks in advance.
Vills (BOB member since 2007-10-24)