Building a Pod from an Excel Spreadsheet
This section explains the procedures for building a Pod from an Excel spreadsheet:
As discussed previously, Calbro publishes the data for vendors and their associated contracts in a Microsoft Excel spreadsheet, within the Vendor Worksheet and the Contracts Worksheet:
(Click the image to expand it.)
Since BMC Dashboards for BSM supports Excel spreadsheets as a data source, we can connect to this spreadsheet using the Pod Builder Tool. Before the product can access the spreadsheet, the spreadsheet must be copied to the product installation folder.
Copying an Excel spreadsheet to the BMC Dashboards for BSM installation folder
BMC Dashboards for BSM looks for Excel spreadsheets in the following sub-folder of its installation folder:
DIL\CIS\apps\dil\excel_ds
In a typical installation, this translates to:
C:\Program Files\BMC Software\BMCDashboardsForBSM\DIL\CIS\apps\dil\excel_ds
In order for BMC Dashboards for BSM to access this spreadsheet, it must be copied to this location.
Creating an Excel Data Source
In order to retrieve data from the Excel spreadsheet, we will create a Data Source. We’ll do this by:
Logging onto the BMC Dashboards for BSM Administration Console, typically available at the following URL:
https://<dashboards_installation_host_name>/bsmdashboards/admin.
Launching the Pod Builder Tool by clicking on its icon as shown below:
(Click the image to expand it.)
Creating a Data Source by clicking the Data Sources button, as shown below:
(Click the image to expand it.)
Clicking the New Custom Data Source button, setting the Type to Excel and giving the Data Source a name such as Calbro Vendors. After this, we’ll select the Vendors spreadsheet from the discovered list, which was populated when we set the Type to Excel, and save the data source, as shown below:
(Click the image to expand it.)
Creating Data Views
Excel spreadsheets are composed of one or more worksheets, analogous to tables in a database. Now that the Data Source pointing to the Vendor spreadsheet has been created, BMC Dashboards for BSM will need these worksheet names.
Since BMC Dashboards for BSM uses Data Views to connect to work sheets or named ranges in Excel spreadsheets (or schema tables and views in the case of relational databases), we’ll create two Data Views, one for each worksheet: Vendors and Contracts.
Data Views can be created by clicking the Data Views button in the Pod Builder Tool.
(Click the image to expand it.)
We can create the two Data Views by:
- In the Data View Management dialog, clicking New.
- In the Name and Type page of the Configure Data View Wizard, specify Calbro Vendors as the data view name, select Single and click Next.
In the Data Set page, selecting the Excel data source that was just created and selecting the Vendor$ table.
(Click the image to expand it.)
At this point, BMC Dashboards for BSM will fetch the worksheets in this Excel document.Selecting all of its columns and specifying serviceName as the alias for the BUSINESS_SERVICE column.
(Click the image to expand it.)
Repeating these steps to create another Data View named Calbro Contracts for the Contracts spreadsheet.
With data sources and data views set up, it’s time to create pods.
Creating the Vendor Pod
The Pod Builder tool ships with a wizard-like Create Pod Guided Workflow which walks an administrator through every step of the pod creation process. In this white paper, we will only cover the steps that are relevant to our discussion. These include:
- Launching the Create Pod Guided Workflow
- Selecting charts and binding data from Data Views in the Pod Builder Design Panel
- Setting up Pod Interaction options in the Pod Builder Design Panel
- Setting up Data Preferences and Publishing the pod to the Pod Catalog
- Setting up Role Assignments for the pod
We will start by:
Clicking the Create Custom Pod button to launch the create pod guided workflow.
(Click the image to expand it.)
This will bring up the “Welcome Panel” of the workflow:
(Click the image to expand it.)- Next, we will click anywhere on the Welcome Panel. This will advance us to the next screen, where we will fill in the pod name, description and select a layout. We will select a Side by Side layout (screenshot omitted for brevity).
The next panel will lead us to the Pod Builder Design Panel, which is divided into two panes, one for each chart. In the left-hand side pane, we select a column chart to display vendors and vendor budgets.
(Click the image to expand it.)
We will now bind this column chart to the Calbro Vendors data view we created earlier, selecting the NAME (category) and BUDGET (series) columns to bind to this chart. We will also create UI labels for these columns by clicking on them and filling in a text label. Finally, we will check the Data Prefs checkbox for the NAME column to allow the end users to select the vendors displayed in this pod, as shown below:
(Click the image to expand it.)
This series of steps results in the following design screen:
(Click the image to expand it.)In order to fulfill Calbro’s requirement that the data in this pod be filtered by the business service selected in the Business Service Summary pod, we will click the Pod Interaction button in the left hand chart and make the appropriate selections in the Pod Interaction Panel as shown below.
(Click the image to expand it.)- At this point, the Vendor chart in this pod is set up to receive communication from other pods in the dashboard. We will finish designing this chart by clicking Options to set up chart titles and X-Y axis labels (screenshot omitted for brevity).
Moving on to the right-hand side pane, we will select a donut chart to show the breakdown of the various contracts and their impact on the vendor budget, and associate the chart with the BUDGET (series) and CONTRACT (category) columns of the Calbro Contracts data view.
(Click the image to expand it.)
As per Calbro requirements, the data in this chart needs to be filtered by the selection of the vendor in the left-hand side chart. Hence, we set up the appropriate options in the Pod Interaction Panel as shown below:
(Click the image to expand it.)Now, let’s test the filtering behavior in the pod by selecting a vendor in the left-hand side chart. As expected, we see the data in the donut chart on the right-hand side filtered to show only contracts for the selected vendor, as illustrated below:
(Click the image to expand it.)The next step in the Pod Builder Design Panel is to publish the pod to a custom Pod Category, as shown below:
(Click the image to expand it.)Finally, let’s save this pod and move to the next step, which is to set the Data Preferences.
(Click the image to expand it.)- In the Data Preferences Panel, we will configure the data preferences for this pod and also, make this pod available to end users. Each of the column for which we selected Data Prefs in the Pod Builder Design Panel is seen as a separate tab UI in the Data Preferences Panel. The Available column contains all the unique data values for Data Prefs column. We will move some of these values to the Selected column to make these data values available to the end users. We will also make some of these User Defaults, thereby making sure that this pod will use these default values when first used by the end user. This way, we minimize the amount of configuration required by the end user.
We can also preview the result so that we can gauge exactly what the end-user will see as a result of our configurations.
(Click the image to expand it.)
- We will check the Make Available to Users check box so that it is available for end-users.
Finally, permissions for this pod can be assigned so that only authorized users may have access to it. In this case, we grant access to this pod to the “IT Director” and “Service Delivery Manager” roles. Any users assigned these roles will now be able to add these pods to their dashboards.
(Click the image to expand it.)
Seeing the Vendor Pod in Action
Let’s login to the BMC Dashboards for BSM Executive Console, add the Vendor Pod to the Calbro Dashboard and see it interact with the other Calbro Dashboard pods. When we click on a business service tile, such as WWW Presence in the Business Services Summary pod, we see the Incidents Details and the Vendor pod get updated to show only those incidents and vendors that are associated with the selected business service.
(Click the image to expand it.)
In this section, we built a sophisticated pod that:
- Fetched data from an Excel spreadsheet
- Showed metrics in multiple charts
- Filtered data according to user input
- Responded to communication from other pods
- Allowed data customizations from end users
- Allowed default configurations so that it was ready with data at first use by end users
While Pod Builder allows further data and UI customization options, these features fall outside the scope of this white paper and are not covered. Please refer to the product documentation for further information on this topic.
While some pods in the customer environments will require minimal setup, other pods may be built upon a complex data schema. In the next section, we explore a pod that requires such an intensive data setup.