Archive

Archive for the ‘Xcelsius’ Category

Some controls on this presentation can't be activated – Xcelsius! Help!

May 20th, 2009 2 comments

At SAP BusinessObjects I work in the role of a Solution Advisor and I have a collection of Xcelsius dashboard examples.  I also receive new Xcelsius models from my colleagues from time to time.  Several months ago I ran across a strange problem with my Xcelsius powerpoints.  When I moved documents from one machine to another I began having problems openning these powerpoints and viewing my Xcelsius models.

Can’t be Activated in Aggravating

When opening powerpoint, I would see the following Windows error:

Some Controls on the Presentation cant be activated

Some Controls on the Presentation can't be activated. They might not be registered on this computer.

I was left wondering if this was a problem with the new Powerpoint 2007, so an incompatibility between Xcelsius 4.5 and 2008.  After some research and an excellent article from the Xcelsius Journal, I was relieved to find out it was neither.  It was all about the flash viewer within Powerpoint.

Solving This Devilish Problem

Although I had long since upgraded my flash player within my Firefox browser, Powerpoint continued to hold on to the old flash version.  Although I upgraded my flash player within Internet Explorer, Powerpoint didn’t seem to see it.  Instead it was still using an old flash player and therefore I continued to get the message:  Some controls on this presentation can’t be activated.  They might not be registered on this computer.   It was so frustrating.  Eventually I was forced to manually perform a flash uninstall and a fresh reinstall.

Uninstalling Your Flash Player

For additional details about uninstalling your flash player, I recommend you refer to this article: http://kb2.adobe.com/cps/141/tn_14157.html

As a shortcut to the files referred to in this article, I have provided references to the Windows Uninstall programs here:
http://download.macromedia.com/pub/flashplayer/current/uninstall_flash_player.exe

Next, you will need to launch Internet Explorer and go to the adobe website.
http://get.adobe.com/flashplayer/

In some cases, you may want to manually download the installer for use offline.   Consider going to this site and downloading the flash player installer for manual installations.
http://get.adobe.com/flashplayer/otherversions/

Back Flashy Presentations

Now that you’ve upgraded the flash player referenced by Powerpoint, you can get back to viewing those flashy Xcelsius presentations.  In the future I would expect Microsoft and Adobe to fix this problem.  I hope I never have to see this message again:  Some controls on this presentation can’t be activated.  They might not be registered on this computer.

«Good BI»

Categories: Xcelsius Tags:

Xcelsius 2008 and Refresh On Load

September 29th, 2008 3 comments

Are you used to the new Xcelsius 2008 yet?  The release of SP1 has definately been a big improvement.  Like many others, I struggled with the new and improved Xcelsius.  There were a few too many quirks for me and until the release of SP1, I went back to Xcelsius 4.5.

Besides the fact that there are several “little things” that work differently between Xcelsius 2008 and 4.5, I did notice a couple of bigger things.  One in particular was the Refresh on Load feature.  I found that there was a big difference between setting the data connection to refresh on open and setting the Connection Refresh button to refresh on load.

Although I did discover a whitepaper that eventually explained it all to me, I ended up figuring this one out on my own.  I should have asked myself early on why there was a ‘refresh on open’ on both the data connection AND the connection refresh.

Data Connection – Refresh on Load

When the SWF file is launched, data is retrieved from the spreadsheet and any data connections, and then dashboard components are generated.  The Refresh On Load option forces the Data Connection to retrieve data from the source before the components are generated.

What’s the downside? The downside I discovered is that you cannot use values from the controls within the Xcelsius model to drive the prompts in your web services because in reality, the controls haven’t been ‘created’ yet.  I found that even though I had default values of “All” hard-coded in my model, I could NOT get my web services queries to fire.  Instead I would get the message:  All prompts are not filled.

In order to avoid this message, you can NOT refresh the data connection on open.  Instead you much create a connection refresh as an object on your Xcelsius model.

Connection Refresh – Refresh on Load

Connection Refresh works like it did in Xcelsius 4.5.  I wrongly assumed that I would no longer need to use a connection refresh in Xcelsius 2008, but due to the issue of not being able to set values for prompts, I found they were still necessary.

BUG?  I’m not sure if it’s a bug, but I also found that if I evoke the dynamic visibility on a Connection Refresh and the object is hidden, then the refresh on open does not work.

Here is an example (the connection refresh buttons are hidden)

Then the user clicks on the setup icon and they are exposed

From a demonstration perspective, I like to hide my Connection Refresh buttons and only display them once the user clicks in a specific area to view them.  In my case I was unable to get the refresh on open to fire on a Connection Refresh if at the time the model was opened, the object was hidden.

NOTE:  To work around this bug, I added a “transparent” button at the top of my model which was NOT hidden.  It was transparent the user could not see it.   When the model opened, the transparent CR button refreshed my web services.  This allowed me to keep my buttons “hidden” but get past the refresh bug.

Final Alternative

Creating an extra step in the lookup logic will make it possible for you to be able to use the data connection – refresh on load AND have the prompts work correctly.  Instead of having the prompt use the target cell of a selector (e.g. B2) , create a second cell that says:  =IF(ISBLANK(B2), “Default Value”, B2) and have the prompt use it instead.  This way, even if the selector value is blank, because the object has not yet been created, the prompt will always have a valid value.

Click here to download sample. BTW,I did not include the database and web service for this sample.

In Crystal Xcelsius 4.5, I was so accustomed to having my web service query prompts feed from the target cells, that it took me a little while to realized that this formula would fix the problem as well.

Summary

Based upon these findings, here are my thoughts:

  • If you want the model to come up faster (before the data has been retrieved), then always use a connection refresh – refresh on open.
  • If you want to model to have the latest data at the time it opens, then always use a data connection – refresh on open.

In general, my personal preference is to use the connection refresh because I think it’s better to allow the user to see the model as soon as possible and then wait for the refresh of the data.  I also like it because it means i don’t have to update my old Xcelsius 4.5 models to use the interim calculation I describe above.

Again, here is the whitepaper just in case you want to read the full details.

Hope this helps you as much as it helped me.

«Good BI»

Categories: Xcelsius Tags: , ,

Xcelsius 2008 Runtime Messages…

April 24th, 2008 7 comments

If you need to troubleshoot Xcelsius 2008 runtime messages here is another link you might want to check out. I recently ran across an error message “2170″ but was not able to find it on my original list of error messages, but then I finally found it.

Click Here for the description of the runtime message.

UPDATE! The solution to the 2170 message when using Xcelsius was provided via YOUR posted comments to this blog entry. Check out the answer on the BusinessObjects forums :

https://forums.sdn.sap.com/thread.jspa?messageID=5656068#56560685656068

if you don’t have access to this forum post, let me know and I can email you the details.

Categories: Xcelsius Tags: ,

When using Xcelsius 2008

March 19th, 2008 5 comments

I’ve been spending a lot of time of late getting myself familiar with the new interface of Xcelsius 2008 and I like it so much better than the older Xcelsius 4.5 interface. The embedded Excel spreadsheet is real dream and the new Data Manager, which manages all the external connections make it easy to keep track of where data is coming from.

Xcelsius Data Manager

There were a couple of things I learned during the transition that I thought would be good to share. The first is around security. With the release of Xcelsius 2008 we have moved to support for Flash 9. In Flash 9, they have tightened up security a bit more. Here is one of the first messages I got when trying to run a Xcelsius file with LiveOffice or Web Service connected data. My problem is a flash security issue. SWFs running locally (directly from a user’s computer) have additional restrictions imposed on them since version 8 of the Flash Player.

This error is coming from the Adobe Flash Viewer. If you see error messages like this in the future, you can look them up here. This has the complete list of ActionScript runtime errors.

To get around this error I need to tell my application server that it is okay to trust requests from other domains. This means I will need to create a crossdomain.xml file for your application server. For more information on crossdomain.xml look here. Even more information about crossdomain.xml and Macromedia is found here.

On Tomcat, you need to add this file to the /tomcat/webapps/ROOT directory. Each application server is different, so you may need to check the manual for your specific application server.

Hope this help you achieve smooth sailing with Xcelsius 2008!

Categories: Xcelsius Tags: , ,

Upgrading to Xcelsius 2008 Tips & Tricks

March 17th, 2008 7 comments

I recently starting moving my BusinessObjects Enterprise Xcelsius models from XIr2 to XI 3.0. I have found that you may need to modify some of the elements after your model has been upgraded. Namely you will need to:

  • Modify the URL of the web services
  • Modify the URL of the embedded opendocument calls
  • Modify the models

I can’t say that these changes are completely unexpected, but it unfortunately these changes will need to be part of a manual process. I think that part of the problem is that we haven’t integrated Xcelsius into any type of structured lifecycle management.

Modify the URL of the webservices

As I move my Xcelsius model from one physical machine to another, I had to go back into each Web Service and change the name of the machine it was pointing to. I also had an issue with my Universes. It appears that somehow, it lost track of exactly which universe I was pointed to (perhaps I changed the CUID during the migration to XI 3.0) so I had to manually edit each one and make sure it was working. In some cases, once I manually picked the right universe, the query still didn’t work. It would throw an error. So I discovered a special trick.

TIP: I found that when the system lost track of my universe I could click on the Show the option dialog… and it seems to fix everything. I think it realizes that the objects in the query are the same as the old universe and repoints the objects correctly.

Query as a Web Service

I also found that you can no longer just copy the URL from the QaaWS administration panel and paste it into Xcelsius 2008. You need to actually click on the which shows you the definition. From there you can click on the WSDL link and it will reveal the correct WSDL “url”. You can see that the URL below contains the end-notation, ?def. The WSDL will be exactly the same but say ?WSDL.

Modify the URL of the embedded opendocument calls

Ouch – what a pain. In XI 3.0, they changed the location of opendocument.jsp from http://<hostname>:<port>/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp to http://<hostname>:<port>/OpenDocument/opendoc/openDocument.jsp

This means you need to either create your own redirector logic on the application server, or rebuild all your opendocument URLs. I can’t say I’m too surprised (it changed from CE10 to XI to XIr2). It’s just that we now see customer’s using opendocument.jsp so much more because it’s a great way to integrate Xcelsius dashboards with Crystal Reports and WebIntelligence documents.

Modify the Models

So far I’ve not had too much trouble in moving my dashboards from Xcelsius 4.5 to Xcelsius 2008, however there are clearly differences in the way the product works. For example, I had a dashboard that did some lookups and returned zeros. In Xcelsius 4.5, when I used the option Ignore cells at End-of-Range option, it would ignore a text cell with the value 0 and a numeric value of 0. Now, it will only ignore the values in the column if they are truly blank.

I’m not saying the old way was right or wrong, it’s just that now the interpretation of “blank cells” has changed. It used to include cells with 0’s but now it really means only blanks.

Therefore – fair warning. When moving to Xcelsius 2008 you need to make sure and test each and every model to make sure it is still working in exactly the same way.

Conclusion

Overall, I love the new features of Xcelsius 2008. I love the fact that the worksheet is now integrated into the model and the updates to the model take place in real time, but expect a few bumps along the road. Like the fact that when you switch between Preview mode and the Normal mode, Xcelsius can’t seem to remember the sizes of the properties window on the right and the worksheet on the bottom-middle.

Categories: Xcelsius Tags: , ,

Let Me Change My Installation Location!

March 7th, 2008 2 comments

It always been a pet peeve of mine that when software installation programs assumes that you want to install it on the C:\Program Files directory. How hard is it to create one more screen to allow the users to change the installation location?

Over that last two days I’ve been installing the new BusinessObjects XI 3.0 onto a test system and really enjoying working with the new software. Since I was involved in the pre-beta process, it was especially satisfying to see some of the changes that have been made since October 2007. Since I was not involved in testing Xcelsius, I’ve been really excited about getting my hands on Xcelsius 2008 and giving it a test run.

Xcelsius 2008 BoxShotToday I installed Xcelsius 2008 and my pet peeve surfaced. Sure enough, I accept the license agreement; I put in my keycode; and the installation begins. What?@!? No chance to specify the installation directory? Well, since it was the last piece of software to be installed, perhaps it saw that I already had OTHER BusinessObjects software installed and so it rightly assumed that I would want to install it there. Nope. It assumed C:\Program Files.

So what’s are you supposed to do? How do you get software to install somewhere OTHER than C:\Program Files?

The answer is a little trick I learned while installing Crystal Enterprise at Coca-Cola. They too were adamant: No non-Windows OS software on the C Drive! In those days we had a problem with the installer. Even though you told it to install on the E: drive, it would still install 5 or 6 files on the C drive.

Here is the answer:

  • We need to modify a registry entry. Now like anyone I need to say, don’t do this if you don’t know what you are doing
  • Launch regedit
  • Go to the registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
  • There you should find a subkey call: ProgramFilesDir. It should already be set to C:\Program Files
  • Modify the String value of this subkey to match your directory. In my case I wanted to install the Xcelsius under E:\Business Objects, so I used E:\
  • Exit the Registry Editor
  • Install Xcelsius 2008 (Reboot if necessary)
  • Go back into the registry editor and change the value back to “C:\Program Files”
  • Reboot again (for good measure – gotta love Windows)

I found that Xcelsius 2008 asked me to reboot, so I did. When it came up the first time my system told me that one of my services didn’t start. I then changed the value back to “C:\Program Files”, rebooted again and everything was fine. I don’t know if that will happen to you or not but that’s what I had to do.

Good Luck. Hopefully you’ll see the ability to specify your installation directory in a future release.

You gotta love Dilbert.

Dilbert Product Designer

Categories: Xcelsius Tags: ,