BusinessObjects Board

Hide WS error when no connection

Hi all,

is there a way to hide Web Services error messages when connection is broken.

I’m using a little xcelsius dashboard in BI Widget, on a laptop.
This Xcelsius is refreshing every minutes.

The problem is when i disconnect my laptop from dock station, I loose network connection and I get Web Wervices error message every minutes.

So i need an option like “Don’t throw error”

Is it possible ?

Thx

JCM


jcmilhot :fr: (BOB member since 2010-04-09)

Hello
I am facing same issue, Qaaws can not refresh data either because internet is down or the connection to BOBJ server can not be made.

Its ok and understandable if the refresh is not successful from time to time but is there a way to not display error message at all?

I can not make a delievery with these error messages showing over and over.
Please Help


jayeomer (BOB member since 2011-07-19)

I remember dealing with this awhile ago. In sp3, fp1, SAP released this:
(pasted from the release notes)

TLDR; You need to deploy as HTML:

Resolution
This issue will be resolved in Service Pack 3, Fixpack 1. Included in this build will be a new flash variable called: SHOW_ERROR_WINDOW

  1. Open .xlf file in Xcelsius SP3, Fixpack 1
  2. Add a flashvar, “SHOW_ERROR_WINDOW” and bind to a cell.
  3. Export the SWF file
  4. In the HTML script, add the flash variable: “SHOW_ERROR_WINDOW = false”
  5. 2032 Error messages will be supressed

Example:

<HTML>
<HEAD>
<TITLE>test123456.swf</TITLE>
</HEAD>
<BODY>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" 
WIDTH="800" HEIGHT="600" id="myMovieName">
<PARAM NAME=FlashVars VALUE="SHOW_ERROR_WINDOW=false">
<PARAM NAME="movie" VALUE="test123456.swf"> 
<PARAM NAME="quality" VALUE="high">
<PARAM NAME="bgcolor" VALUE="#FFFFFF">
<PARAM NAME="play" VALUE="true">
<PARAM NAME="loop" VALUE="true">
<PARAM NAME=bgcolor VALUE="#FFFFFF">
<EMBED src="test123456.swf" quality=high bgcolor=#FFFFFF WIDTH="800" HEIGHT="600" 
NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash" 
play="true" loop="true" 
FlashVars="SHOW_ERROR_WINDOW=false" 
PLUGINSPAGE="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT>
</BODY>
</HTML>

Cairmor :us: (BOB member since 2008-06-05)

Thx Cairmor

unfortunately it’s not a solution when trying to use this in BI Widgets.

I can’t believe there’s not an option on each connection like “Don’t raise error”

Incomplete tool


jcmilhot :fr: (BOB member since 2010-04-09)

on a related note, I have a ticket in with SAP for this. Ill post again if I get any useful information


Cairmor :us: (BOB member since 2008-06-05)

Thx,

I’ve downloaded th new Dashboard 4.0, thinking it could be implemented in this new release …

It was a dream.

4.0 still remain the same, just a new feature : get query from repository

I keep an eye on this topic, if you have some news from your ticket.

JCM


jcmilhot :fr: (BOB member since 2010-04-09)

got off the phone…they tried to link me the same sh*t I posted above as a fix for the fixI posted above (hehe)

but I pushed back and now have some people working on a workaround to permanently disable error messages.

Might be a couple days…they (sap contracted support guys in vancouver ) are not known for their speed.


Cairmor :us: (BOB member since 2008-06-05)

got a positive response.

If anyone has a bit of time, and wants to test this in a broad environment, then, please help out. I can only test in the environment Im in. I got this to work (supressing ALL SWF side BOBJ error messages)

for this to work, you have to call the SWF via an opendoc link…as long as a user is clicking a link to the SWF, or the link is embedded in a portal (like Sharepoint) and the portal is calling the SWF on demand, then you can pull this off.

It does not matter what data connectors you are using.

Here is the opendoc syntax:

http://Servername:8080/OpenDocument/opendoc/openDocument.jsp?sDocName=xc.swf&lsSSHOW_ERROR_WINDOW=FALSE

In your Excel model, make a one cell named range called SHOW_ERROR_WINDOW

In your Xcelsius model, you must make a Flash variable. Make the name of the variable SHOW_ERROR_WINDOW. click import named ranges > import your range SHOW_ERROR_WINDOW. Bind the Range argument to the Cell that has the named range (e.g. Sheet1!$A$1)

Keep the variable format as XML for your flash variable connector.

Next, create your opendoc link. Make the last argument in the opendoc link use the SHOW__ERROR_WINDOW=FALSE parameter as described above.

*warning…there is some descrepancy to which case your should for this parameter. Some say

=FALSE

Others are saying

=false

is the correct way.*

Anyway, it would be cool if a couple other people tested this.


Cairmor :us: (BOB member since 2008-06-05)