Book Image

SAP BusinessObjects Dashboards 4.1 Cookbook

Book Image

SAP BusinessObjects Dashboards 4.1 Cookbook

Overview of this book

Table of Contents (26 chapters)
SAP BusinessObjects Dashboards 4.1 Cookbook
Credits
Foreword
About the Author
Acknowledgments
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Passing values from dashboard to dashboard with Flash Variables


A common requirement is to be able to have two dashboards interact with each other by passing variables from one dashboard to another. In our example, we have a parent dashboard that encapsulates several children dashboards. In this recipe, we will show you how to pass values from one dashboard to another using Flash Variables.

How to do it...

  1. Open up a new Dashboard model and drag an Input Text component and a SWF Loader component into the canvas.

  2. Go to the spreadsheet and enter Company A in cell A1. This is the default value that will be passed to the second dashboard.

  3. In cell A2 type child.swf?Variable1= and in cell A3 type =CONCATENATE(A2,A1).

  4. Link the Input Text component to cell A1. Also make sure you select the Insert Data On Load option and bind its Destination field to cell A1.

  5. Bind the Source URL field of the SWF Loader component to cell A3.

  6. Save and export this dashboard to an SWF file. See the Exporting to SWF, PPT, PDF...