In a message dated 99-03-05 16:54:42 EST, you write:
My question is can you automatically
execute a script upon opening a universe?You can execute a script automatically upon starting or quitting
BusinessObjects, before refresh of a document or after refresh of a
document.
A couple of loop holes to point out:
-
If the user used the “Tools / Login As…” menu option, there is no script
(event) that occurs. In other words, someone can log in to Business Objects
without firing off the “starting BusinessObjects” script. -
The refresh script event only gets half of the possible ways of refreshing
a document. There are six different ways that I have identified for
“refreshing” data in a report. Only 3 of them are noticed by the
“OnBeforeRefresh” event. The six ways are: -
Run, from the Query Panel
-
Set the “Refresh on Open” attribute on a document, close it, then open it
-
Click the “Refresh” button on the toolbar
-
Select “Data”, Refresh from the menu
-
Click the “refresh” button from the Data Manager (View Data) screen
-
execute the “refresh” method via a script
Item 1 (Run) does not get noticed. Which, strictly speaking, is not really a
refresh. However, the “refresh on open” does not get noticed either. That may
be less used. But, and I think that I am doing this correct, the “Refresh”
button on the Data Manager window does not get noticed either!
Only items 3, 4, and 6 are logged by the OnBeforeRefresh event.
Regards,
Dave Rathbun
Integra Solutions
www.islink.com
Listserv Archives (BOB member since 2002-06-25)