Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Pentaho CTools

You're reading from  Learning Pentaho CTools

Product type Book
Published in May 2016
Publisher Packt
ISBN-13 9781785283420
Pages 388 pages
Edition 1st Edition
Languages
Author (1):
Miguel Gaspar Miguel Gaspar
Profile icon Miguel Gaspar

Table of Contents (17) Chapters

Learning Pentaho CTools
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Getting Started with CTools Acquiring Data with CDA Building the Dashboard Using CDF Leverage the Process with CDE Applying Filters to the Dashboard Tables, Templates, Exports, and Text Components Advanced Concepts Using CDF and CDE Visualizations Using CCC Pentaho App Builder Embed, Deploy, and Debug Index

Creating a new dashboard style/template


Besides the dashboard type, we can also specify a dashboard style that will somehow work as a template wrapper for the dashboards. Here you can include some scripts or just HTML; you can define what is valid for an HTML file.

Extending styles for CDF dashboards

We saw earlier that when creating a CDF dashboard, we should specify the style in the XCDF file similar to <style>clean</style>. This will instruct CDF to make use of a particular template/style for our dashboard.

By default, the templates are inside a folder in the filesystem, in the plugin itself. The folder is <baserver>/pentaho-solutions/system/pentaho-cdf. When we create styles/templates, we need to have them in one place that is accessible for multiple projects, if needed; however, if we place them in the same folder as the default ones, they will be overwritten on the next update of the plugin. To avoid this, it's possible to place our own templates in a folder, inside...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}