""

Technical

Accessing your SAP BusinessObjects platform through the internet

Have you ever thought of accessing your BusinessObject’s platform through the Internet? Do you need to access externally your BusinessObjects platform without using a VPN connection? Is secure access for your external users a must for you? If the answer to these three questions is “Yes, I do” and your seeking for a solution, you have just landed on the page that will guide you to successfully meeting your objectives. So look no further because in this article, I will explain how you can improve your current BusinessObjects environment in a very simple way. As a matter of fact, one of our customer’s requested we find a way to allow his users access the BusinessObjects platform through the Internet in a secure way and without using a VPN connection. After analyzing several scenarios, we decided to split the web server (WAS) so that, in the end, our customer would dispose of two web servers: a server for external access and another for internal users. In the lines below, I will explain the steps and key items to developing this original solution.

Infrastructure changes

Many companies don’t usually connect servers with data (i.e: Database servers) in DMZ networks. Given this is our case, I recommend we split the BOXI Web Server. Our next step would be to place one web server in the DMZ network and the other web server, including the repository server, should be kept in the LAN. Finally, we should set up a new configuration, one for each firewall (INTERNET–DMZ and DMZ–LAN).

SAP BO Internet 1
SAP BO Internet 1

Having made these changes to the infrastructure, the internal users (LAN users) will still be able to connect to the BOXI platform, just as they would normally do, and at the same time the external users, who will connect through the Internet, will be able to access a secure web server, through an HTTPS connection, and use any BOXI web tool they need, such as Infoview, WebI, etc. This means, for example, that the external users can connect in a secure way to their Infoview by using a web browser and without the need of a VPN connection.

Security requirements

We must not forget yet another important requirement which is to assure our users with a secured access once they’re connected through the internet. This is a topic that I will treat more in depth in the next lines.We can use the Secure Sockets Layer (SSL) protocol to allow for communication between external users (users connected through the Internet) and the external web server in the DMZ network.

To set up the SSL for the server communication we need to perform the following steps:

1. Set Environment Variables

Before starting, it’s always good to make sure that the following environment variables are set correctly. The values which I will outline within the course of this article and that I’ll be using as a reference are correct for those of you have installed Business Objects with the default settings. Otherwise,  use the list below as a guide to finding the correct paths.

  • CATALINA_HOME --  C:Program FilesBusiness ObjectsTomcat55
  • JAVA_HOME -- C:Program FilesBusiness Objectsjavasdk
  • TOMCAT_HOME --  C:Program FilesBusiness ObjectsTomcat55
  • Path -- C:Program FilesBusiness Objectsjavasdkbin (Add this to the existing Path)

2. Keystore and Keypair Creation

Next, open a command prompt (Start->Run, cmd) and run the following command to create a keystore.

keytool -genkey -alias tomcat -keyalg RSA -keystore C:keystore

The keytool utility will then ask you for your general personal information before generating your keypair.  This information is used to identify your server. When you visualize a message from keytool asking you for the “key password for Tomcat”, just hit return to use the same password.

SAP BO Internet 2
SAP BO Internet 2

Check to make sure your key was created by running this command:

keytool -list -v -keystore c:keystore.keystore

3. Enable SSL in server.xml

While you are waiting for your signed certificate, you can enable SSL in Tomcat. We proceed to doing so by opening up Tomcat’s server.xml file, which is located by default in C:Program FilesBusiness ObjectsTomcat55conf. Look for thefile for the SSL Connector entry, which should look like this:

<-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->Let’s start by looking at the design area, where we find 5 tabs on the top of the application (“Report element”, “Format”, “Data access”, “Analysis” and “Page Setup”).

The new WebI XI 4.0 tries to centralize similar features in a more logical manner. In such way, under “Report Element", we find the basic elements for the initial design.

This section is divided into 3 areas, where initially we’ll find these tabs: “Table”, “Cell” and “Section”. We won’t find any new characteristic added here, though a significant change lays in the way we interact with the elements.

What is worthy of mention is that we can now insert elements into a table in the habitual drag & drop way or by simply using a new interface to set any of them more rapidly.

The second section is focused entirely on “Charts”. This area has undergone major improvements and we now have many more graphic options to work with. WebI includes new chart types, new properties and other features developers have been expecting for quite some time.

The third section instead is based on how we allocate the report elements. We will therefore find the regular “Turn Into”, “Set as section”, “Order”, “Align” and “Hyperlinks” functions.

Apart from these three sections, if we click on an active report element, a new section pops up complementing the options that are available to us when right clicking over a report element. For example, if we click on a table, we can set up the Breaks or Insert/Remove Rows.

In the "Format" tab we now have a better distribution of all options which are now centralized and easy to access in order for us to format in any aspect our element. Previously all these options were spread across the report and accessed either by right clicking on the element or by selecting from the formatting bar or the “Data” tab.  Moreover, what I believe is well worth of mention is that WebI now adapts dynamically to each formatting option that fits with the selected item. In other words, if we select a cell, the tab is adjusted to modify multiple cell parameters; the same stands for table, report etc.

In the "Data Access" tab we find all the options related to data access and data manipulation. The first section involves working with the query panel (“Data Providers”). We can now create new queries to new data sources. It basically adds a new query to our document with the selected data source. Alternatively, we can edit one of the active queries, do a data purge or even refresh it. Under “Tools”, instead, we can change the data source specifically for one of the active queries or export the data to a flat file, CSV or PDF. The second section called “Data Objects” is where we can create our report data variables or merge specific dimensions.

Under the "Analysis" tab, the related functions are much more consistent. This is the case, for example, if we want to filter the data; now individual reports like “Filters”, “Ranking” or “Input controls” are grouped in one same block. Still under “Analysis” we find “Data Tracking” with no significant developments. The "Breaks" and "Sorts" options are centralized aswell, now grouped under "Display". Special mention goes to the “Conditional” tab, which includes a feature, legacy from the former WebI: “Alerters”. Finally, we can move on forward to the last set of options under the ”Interact“ tab where we’ll find the “Drill”, “Filter Bar” and “Outline” options and, as for the “Functions” tab, we’ll find the default aggregation functions such as sum, count, min, max etc.

The last tab to consider is named "Page Setup". This is one of the parts which I find particularly useful as it is more defined if compared with the old version.

Divided into three parts, the first block manages the reports. No new functionalities have been added here. The second block focuses on the distribution for each page of the report, defining the orientation and the page size, and the “Show/Hide” and “Height” for the header and footer. Finally, in the third block we have a new feature called “Scale to Page” where we can adjust our items either in width or in height fitting them in single or multiple pages. Additionally we can also control the report margins as well as the page display by toggling between quick display and view page.

Last but not the least, we find three new menus “Reading”,”Design” and “Data” that are quite useful.

These are intended to be shortcuts to the three main actions that a developer would carry out in WebI offering different views for each action.  In case we want to evaluate the report results, all we need to do is right click on “Reading” and the “Summary View” will appear along with the report results. If we want to go back to the creation area, we simply click on “Design” and it will display the canvas either in structure mode or populated with data. Finally the “Data” shortcut shows us a nice overview of all the data providers involved in our queries.

I hope you found this second part of my article helpful and insightful. Don’t hesitate to leave a comment or to ask any questions related to the new WebI 4.0 layout and I will readily reply to you.

Nuevo diseño de WebIntelligence ™ en XI 4.0 (Primera parte)

After a long time working on developing reports either with Deski or WebI documents on the old XI 2.0 and XI 3.0 platforms, I was eager to see what new functionalities SAP was able to offer us with the new releases of BusinessObjects 4.0. There are many articles that illustrate the main new features, but I couldn’t find any that would show how the tool looks like and what the real capabilities and functionalities are for a developer. This is the exact and main purpose of this first article; to give real insight into the new fancy application web version in terms of layout.

First and foremost, it is important to clear out the confusion generated around the nomenclature of Web Intelligence. Previously SAP had considered changing this from Web Intelligence to Interactive Analysis; this is why installer name and documentation refer to it as Interactive Analysis. SAP has decided to maintain the original nomenclature and so we shall continue referring to this application as Web Intelligence (WebI).

Web Intelligence

As soon as we select the “Interactive Analysis” button, the application is launched. It is interesting to note that a new tab called “Interactive Analysis” is added to the BI Launch Pad (formerly known as InfoView), next to the regular Home and Documents tabs.

The tab itself offers 3 possibilities, close, pin the tab, and open a new window to maximize the working area. This option is perhaps the most interesting of all as it responds to the long-standing demand from behalf of developers, to be able to work on a larger canvas area without having to pre-configure global options in the BI Launch Pad.

Below the tab we find a greyed out bar with the usual properties for editing and formatting as well as a drop combo box (Interactive Analysis) that will prove to be really helpful to manage the different bars and panes. Momentarily, we can only interact with the “new”, “open a document”, “user preferences button” and “help button”.

The user preferences button offers a new feature on the web version of WebI called "Manage BI services" used to manage the web services available in the hosts. It is also interesting to see that we can open a new a document from the server, either from a folder or a category.

If we decide to create a new document, the application prompts us to create a new data provider by selecting the data source it will be based on. The options available are “no data source”, “universe”, “BEX” and “Analysis View”.

Web Intelligence 2

The new and most significant options amongst these are “BEX” and “Analysis View”. BEX (acronym for Businness Explorer queries) is used to retrieve data directly from the queries mounted on the Infocubes from  SAP BW environment. Instead, View Analysis uses the results from an Analysis workspace, exported as an analysis view and created within an OLAP source system. I highly recommend the reader to explore these possibilities in forthcoming posts.

In this post I will use the everlasting universe efashion as an example.

As you can notice in the below illustration, the query panel isn’t any different from the old query pane in terms of layout.  It is still based on the same interactive functions and we can continue playing with the options to show or hide panels. The main new feature is the data preview panel which provides us with a first preview of the data depending on the objects dropped.

Minor changes are worth being taken into consideration such as for the “SQL” button that has now become the “View Script” button, or the reshaped “Master Perspective” drop down box that basically enables to display the objects sorted by class or by hierarchy. A new handy and interesting option is the new “Close” button offering us the possibility to choose between applying changes and closing or reverting changes and then close.

However the major enhancement of the query panel is one that is not visible. The outstanding feature is that now we can add new multiple queries to our document combining different data sources  (other universes, queries or analysis BEX View) answering a fundamental request from Webi developers.

Web Intelligence 3

The real feel of this being a new product release comes when we run a query and we use the new design mode. The first impression we have is that WebI is in line with the layout of the newest Microsoft Office products. The WebI canvas has experienced a total revolution. The static old bars have made way to a much more logical design using integrated tabs distributed throughout the application, which improves tremendously the usability for the developer. At a first glance, we can identify two main parts, the navigation area and the creation area.

WebIntelligence 4

Let us focus on the navigation area; this too is mainly divided into two parts. The first is the historical file menu where we can create, open, save, and print documents…nothing new. The second is a more centralized area where we can set up global properties at both document and application level. This last level is segmented into 3 parts. The first is the "View" menu, where we can show and hide all toolbars, tabs and panes. Now, we also have the possibility to expand to full screen.  In short, WebI has now more options centralized than the previous versions, which were distributed across the report and the query panel.

Web Intelligence 5

Finally under "Application" we find the same “user settings” present in the previous version of WebI, where we can set up the Measurement unit and the Grid properties.

Still, in the previous WebI, we used to have five tabs on the left hand side of the canvas (Map, Templates, Properties, Data and Input Controls). Now, in the latest WebI version, this part has been totally renewed. This new area is more focused on navigation and customization of the global document rather than the report elements. The first is the summary document which outputs a summary of the main options established in the WebI document. An interesting new option within this section is an area where you visualize the prompts parameters defined in the doc as well as the KeyData. The next two icons correspond to a new partition of what we used to find in the old “map” tab: report map and document structure and filters. Input controls and Available objects (former “Data” tab) present nothing new. Finally the structure is completed with the web service publisher.

I hope you enjoyed this article and that it has allowed you to gain a better understanding of the new WebI layout. Stay tuned for the second part of this article for more insight on what’s new in WebI.

Don’t hesitate to leave a comment or ask for clarifications and I will readily reply to you.

Liberación de SAP Business Objects XI 4.0: Conexión a orígenes de datos OLAP

En marzo, la nueva versión de SAP Business Objects 4.0 llegó a la escena con un montón de nuevas características interesantes. Hoy voy a describir cómo configurar una conexión a un origen de datos OLAP utilizando algunas de las nuevas herramientas y características de SAP Business Objects XI 4.0. Para seguir correctamente las instrucciones descritas en este artículo, lo mejor es asegurarse de que se cumplen los siguientes requisitos previos:

  • Windows Server 2008. La configuración del servidor debe habilitarse como rol de servidor Web (IIS).
  • SAP Business Object XI 4.0.
  • SQL Server 2008 y Microsoft Analysis Services. Se debe instalar la base de datos de ejemplo "Adventure Works" y los ejemplos del cubo OLAP implementados en Microsoft Analysis Services.

Configuración de la conexión OLAP

En primer lugar, para que pueda crear una conexión OLAP tendrá que configurar IIS para proporcionarle el acceso al cubo OLAP almacenado en Microsoft Analysis Services.

Configuración de IIS

Simplemente sigue estos pasos y estás en camino:

1. En primer lugar creamos una carpeta llamada "Olap" en la ruta raíz de IIS en la máquina, por defecto la ruta debería ser: C: inetpubwwwroot

2. Copie los archivos necesarios para crear la conexión con Analysis Services. Estos archivos, que se establecen como una instalación predeterminada de SQL Server 2008, se almacenan en la ruta de acceso siguiente:

C: ProgramFilesMicrosoftSQLServerMSAS10.MSSQLSERVEROLAPbinisapi.

Copie todos los archivos contenidos en esta carpeta y péguelos en la carpeta "Olap" que hemos creado en el paso 1.

En este punto, esto es lo que deberíamos ser capaces de visualizar:

XI4
XI4

3. Inicie Administrador de Internet Information Services (IIS). Lo encontrará en el Panel de control en Herramientas administrativas.

SAP XI 4
SAP XI 4

4. En el panel Conexión, abrimos el árbol de sitios. Hacemos clic derecho en Pools de aplicaciones y seleccionamos la opción Agregar grupo de aplicaciones.

SAP XI 4 (2)
SAP XI 4 (2)

5. Así es como debe aparecer la configuración de la piscina:

SAP BO XI4
SAP BO XI4

6. Ahora, dentro de la lista de Piscinas de Aplicaciones disponibles para nosotros, podemos ver la piscina de Olap. Simplemente haga clic con el botón derecho del ratón en la piscina de Olap y seleccione Configuración avanzada. Una vez que hayamos alcanzado este ajuste, es sumamente importante que establezcamos la opción "Habilitar 32 -bits Application" en FALSE. Este es un paso crítico porque, a menos que esta opción esté establecida en FALSE, la conexión no funcionará.

SAP BO XI4
SAP BO XI4

7. Seguimos haciendo clic derecho en el sitio de Olap y seleccionando la opción Convertir en Aplicación.

SAP BO XI4
SAP BO XI4

8. En la ventana de configuración, pulsamos el botón Seleccionar y seleccionamos el grupo de aplicaciones que se ha creado. Así es como debería aparecer la configuración:

SAP BO XI4
SAP BO XI4

9. Ahora seleccione el sitio Olap en Conexiones. En el panel derecho podremos ver diferentes categorías. Haga doble clic en Asignaciones de manejador.

10. En la parte superior derecha del panel ahora podrá visualizar el panel de Action. Desde aquí, seleccione Agregar mapa de scripts. Aparecerá un panel de configuración, y así es como debería aparecer:

XI4
XI4

11. Ahora procedemos a configurar la Configuración de Autenticación. Haga clic en Conexiones en el sitio de Olap y haga doble clic en la categoría de autenticación que se encuentra en el panel derecho.

12. En el panel derecho puede ver ahora los tipos de autenticaciones disponibles. Haga clic derecho en Autenticación de Windows y habilitar.

SAP BO XI4
SAP BO XI4

Configuración de Analysis Services 2008

Now our following step consists in configuring the Analysis Services which means having to modify the security settings. This is why if you follow the instructions in this article to setup a production environment please check your security implications. For more information on this matter please click here.

1. Inicie SQL Server Management Studio y conéctese a su servidor de Analysis Services

2. Haga clic derecho en el servidor y seleccione Propiedades.

XI4
XI4

3. En el panel izquierdo seleccione la opción Seguridad. En el panel derecho podemos ver Server Administrator. Haga clic en el botón Agregar en la parte inferior izquierda de la ventana.

4. Escriba el nombre IUSR en el cuadro y presione Verificar nombres. Finalmente presione OK.

5. Ahora podemos ver la cuenta IUSR en la lista de administradores del servidor.

XI4
XI4

Conectar SAP Business Objects XI 4.0 a OLAP

Hay varias formas de crear una nueva conexión en SAP BO 4.0 y acceder al cubo OLAP. En este artículo vamos a enfocarnos en el uso de una nueva herramienta introducida en SAP BO 4.0 llamada Information Design Tool (IDT). El IDT es el entorno de diseño de SAP Business Objects para crear y publicar nuevos universos y conexiones de SAP Business Objects. Para finalizar el proceso, crearemos un nuevo universo OLAP utilizando la herramienta de diseño de Universo y, por último, crearemos un informe sencillo con Web Intelligence 4.0 que nos permitirá probar el acceso al origen de datos.

Creación de la conexión OLAP

Proceda de la siguiente manera:

1. Iniciar la herramienta de diseño de información

2. Cree un nuevo proyecto, vaya a Archivo, Nuevo y luego Proyecto

3. Introduzca el nombre del proyecto, la ubicación (opcional) y pulse Finalizar

4. Vaya a Archivo, Nuevo, OLAP, Conexión para comenzar a crear la conexión con el origen de datos OLAP.

5. Introduzca un nombre para la conexión, una descripción (opcional) y pulse Siguiente

XI4
XI4

6. En la siguiente pantalla tenemos que seleccionar el controlador para la conexión, en nuestro caso Microsoft Analysis Services 2008, y presionar Siguiente

7. Introduzca los parámetros de la conexión, esto es lo que debe visualizar:

XI4
XI4

8. Seleccione el cubo para la conexión y pulse Finalizar.

XI4
XI4

Si ha logrado éxito en su tarea gracias a seguir estos pasos, ha sido capaz de crear una nueva conexión y ahora todo lo que queda es para usted es publicar esta conexión en BO. Así es como se hace.

1. Haga clic derecho en la nueva conexión y seleccione la opción Publicar conexión a un repositorio

2. Introduzca las credenciales para conectarse al repositorio de BO y pulse Conectar

3. Seleccione una ubicación para la conexión y pulse Finalizar.

Creación de un universo OLAP

Para fines de prueba vamos a crear un universo OLAP utilizando la nueva conexión.

1. Inicie Universe Design Tool e ingrese sus credenciales para acceder al servidor

2. Ir a Archivo, de allí a Nuevo

XI4
XI4

3. Introduzca los parámetros del universo, seleccione la conexión creada y pulse OK. Así es como debe aparecer:

19
19

El universo cargará automáticamente la estructura y los objetos del cubo.

XI 4
XI 4

Creación de un informe Web Intelligence

Una vez que todo esto se ha hecho, veamos la creación de un Informe de Web Intelligence:

1. Iniciar Análisis interactivo de escritorio

2. Seleccione el Universo

XI 4
XI 4

3. Introduzca las credenciales para acceder a su servidor BO

4. Seleccione el universo creado y presione Seleccionar, en nuestro caso el ejemplo de conjunto es OLAP Universe

5. Cree una consulta y pulse Ejecutar consulta.

XI 4
XI 4

En esta etapa, después de haber seguido estos pasos con precisión, debemos ahora tener un nuevo informe que se muestra delante de nosotros, lo que nos permite utilizar el Universo que hemos diseñado con la conexión OLAP, para acceder a la información en el cubo almacenado en Analysis Services 2008.

XI 4
XI 4

Espero que haya encontrado este artículo de su interés y para cualquier sugerencia o consulta sobre SAP Business Objects XI 4.0 por favor deje un comentario y le responderé gustoso.

Haciendo la paz con el enemigo: SAP BusinessObjects Live Office XI 4.0

El escenario más común al que me he enfrentado hasta ahora, después de algunos años dando presentaciones de preventa de BI e implementando sistemas de BI para clientes, ha sido el de reunirme con miembros de un departamento de TI sobrecargado que dirigen sus esfuerzos para desarrollar informes complejos con Herramientas de BI para un grupo de usuarios empresariales que, al final, simplemente exportarán la información que se les entregó a una hoja de Excel y trabajarán directamente en ella.

For decades, most BI vendors have tried to convince users to give up Excel sheets and instead work with more flexible and user friendly BI tools. But it’s an acknowledged fact that nowadays millions of people around the world use spreadsheets on a daily basis. The time has come for vendors to take off their blinders and to act upon what is happening. Already some have been readjusting their strategies and roadmaps, and have shifted towards accepting Excel as a presentation layer for data thereby providing the necessary integration with it.

This article is about how SAP BusinessObjects tackles this challenge and goes one step further in terms of tools integration thanks to the new features of the latest release XI 4.0.

With Live Office, it is possible to insert content from Web Intelligence, Crystal Reports and also Universe Queries directly into Microsoft Office documents (PowerPoint, Word, Excel or Outlook). Furthermore, when opening the very document at a later time, it is possible to refresh the embedded objects and retrieve up-to-date data in the document.

This is truly an advantageous solution and I have had the opportunity to use this technology with some customers, who continue employing their traditional form of reporting with an Excel sheet but can now combine this with error-free data obtained directly from their business systems.

In the latest release of Live Office, a new functionality loads the data selection of Microsoft Excel to SAP BusinessObjects Explorer, a flash-based tool that allows further analysis in a very visual and intuitive way. Moreover, the results from a completed analysis can also be downloaded to other applications, such as Outlook and PowerPoint to further the study or to simply send by email.

Live Office XI 4.0

If you have any questions regarding Live Office XI 4.0 and its uses in a customer environment, feel free to leave a comment and I will follow up with you.

Cómo organizar una reunión entre dos parientes que no se conocen entre sí: conectando Strategy Management con Data Services

As promised in our previous SSM article, I will now walk you through another interesting objective we have achieved while working on our SSM project: populate Strategy Management KPIs with a Data Services job.

Currently SAP BO SSM does not provide a connector to SAP Business Objects tools even if both SSM and Data Services are SAP BusinessObjects products.

The solution we designed for our customer in UAE provides them with the option of loading the data from any source into SAP BO Data Services and of finally dumping the values into an SSM PAS Cube (via E&A PAS schedule).

The solution recommended by SAP for its latest version currently in use, SSM7.5 SP08, allows loading the data into the PAS cube by creating an IDQL script.

The concerns we were faced with in our project were related to the actions required for the maintenance of IDQL (scripting language).

For a non-trained customer, IDQL sounds like a black box and sets off many alerts especially when it comes to maintenance.

I was caught in the midst of a question storm which ended thanks to our “problem solving attitude” and rapidly blew off all questions.

It didn’t take us long to learn how the SSM data model works for the KPIs as we had already studied them while working on the initiative.

The first step taken consisted in creating a cube in the SSM “Cube Builder” console. From here we proceeded to mapping the KPIs ID that we have in SSM SQL and in our original source (i.e. ERP, Excel, and Other DBs).

The process of creating a source and sending it out with a data integrator was a straightforward and pleasurable task and has delivered great results.

Now, this solution allows me not only to insert the current data but to introduce the historical data just as well, it’s absolutely fantastic!!!!

I was able to visualize in my “Entry and Approval” panel the data I was inserting on an excel file and on the ERP tables.

At this point my data was not added into the “Balance Scorecard” yet, so the last action I had to perform was that of publishing those values.

I used the “Entry and Approval” scheduler that was running right after the ETL job.

Reached this stage, I had my SSM Context populated with my values.

In the image displayed below I have outlined the steps we followed (IDQL is marked in red since it hadn’t been utilized throughout this process) and as you can clearly notice, we are now capable to create reports and dashboards from the SSM Database by generating a universe on top of the SSM tables. 

Integrating SSM with Data Services

  Please don’t hesitate to contact us at info@clariba.com for more information about this article or for SSM consultancy.

Loading Status Animation in Xcelsius

A menudo, al desarrollar un panel de control con Xcelsius, tenemos conexiones a una base de datos, ya sea con LiveOffice o QaaWS (Query as a Web Service). Esto nos deja con solo dos opciones para actualizar nuestro panel de control: ya sea que procedamos una vez que todos los componentes de Xcelsius estén cargados o, alternativamente, cambiemos un botón de radio, un cuadro combinado o cualquiera de los componentes relacionados con los objetos de conexión. En ambos ejemplos, cuando tenemos que administrar grandes cantidades de datos, normalmente esperamos hasta que la conexión devuelva nuestra solicitud. Esto puede ser frustrante, especialmente cuando no tenemos ningún indicador para indicar que los datos se están procesando. En este artículo ilustraré una solución conveniente a este problema.

  • En primer lugar, necesitamos crear los objetos que se mostrarán mientras la consulta carga los datos: aconsejaría comenzar creando un rectángulo como capa falsa. Una vez hecho esto, creamos otra imagen que será nuestra animación.

Tenemos muchas animaciones posibles:

View the flash file: Loading Animations in Xcelsius

Así es como aparece la animación:

View the flash file: Xcelsius Animation

  • Luego agrupamos estos dos objetos y los llevamos al frente.

  • En una hoja de cálculo creamos una celda donde vinculamos el estado de la consulta.

  • Llegado a este punto, en propiedades en QaaWs o en la conexión de Live Office seguimos estos pasos:

En la pestaña Uso:

Sección de estado de carga:

  1. En la celda Cargando mensaje, codificamos una "L"
  2. En la celda Mensaje inactivo codificamos una "C"
  3. En la opción Insertar debemos mapear la celda de la hoja de cálculo, en nuestro caso "B1"

  • Finalmente seleccionamos el grupo que habíamos creado previamente, y en la ventana de visibilidad dinámica asignamos el Estado a la celda "B1" y la clave a una "L". Esto significa que mientras se carga la consulta, podemos ver simultáneamente el grupo.

El resultado final es como se muestra a continuación.

Esta estrategia contribuye a proporcionar un entorno amigable para el usuario, en particular en aquellas situaciones de recuperación lenta de datos.

Si tiene alguna pregunta o sugerencia sobre esta solución, no dude en dejar un comentario y con gusto le responderé.

EspañolEnglish