Tim Richardson
Tim Richardson

Reputation: 7231

where do we define new colType AddIn for pentaho CDE dashboards?

I want to register a new AddIn for the Table component.

Looking at the source in cdf / cdf-core / cdf / js / addIns / coltypes.js this seems not very difficult. However, where do I define this code? The final step is (taken from the dataBar colType)

Dashboards.registerAddIn("Table", "colType", new AddIn(dataBar));

can I run this in a javascript resource attached to the Layout section of the dashboard?

I think my question is ver similar to this question: https://stackoverflow.com/questions/24869195/where-can-i-create-the-relative-sparkline-addin-object

Upvotes: 0

Views: 722

Answers (1)

Pedro Vale
Pedro Vale

Reputation: 756

Yes, you can. Addins need to be registered only on dashboard render time.

Upvotes: 1

Related Questions