We can start the project in 1 of 2 ways
- CBF2
- Manual
Use CFB2 as in https://github.com/webdetails/cbf2
NOTE: The dockerfile of this specific project was not yest tested
- Stop you pentaho server
- Copy plugins/layoutEditor folder into pentaho-server/pentaho-solutions/system
- Start your pentaho server
- Zip the solution folder
- Upload the ziped file in 4) into Pentaho repository
- Open the Layout Editor from the menu
The main dashboard can be called from the Pentaho User Console (PUC) menu, by selecting Tools->Layout Editor
Once the plugin is deployed into Pentaho, there will be one aditional component available in all Dashboards. The component name is Layout Editor and just need to be added to a dashboard and give it a name.
NOTE: Only users with "Create Content" permissions will be able to add new widgets into the dashboard. Some endpoints will fail if the user does not have "Create Content" permissions.
-
type=Dashboard name=can_create, filePath=${PENTAHO_SOLUTION_FOLDER}/system/layoutEditor/endpoints/kettle/main.wcdf adminOnly=false parameters= example: http://${hotname}:${port}/pentaho/plugin/layoutEditor/api/main
-
type=Kettle name=can_create, filePath=${PENTAHO_SOLUTION_FOLDER}/system/layoutEditor/endpoints/kettle/can_create.ktr adminOnly=false parameters= example: http://${hotname}:${port}/pentaho/plugin/layoutEditor/api/can_create
-
type=Kettle, name=list_parameters filePath=${PENTAHO_SOLUTION_FOLDER}/system/layoutEditor/endpoints/kettle/list_parameters.ktr adminOnly=false parameters=file example: http://${hotname}:${port}/pentaho/plugin/layoutEditor/api/list_parameters?paramfile=/public/tests/tests.cdfde
-
type=Kettle, name=load_dashboard filePath=${PENTAHO_SOLUTION_FOLDER}/system/layoutEditor/endpoints/kettle/load_dashboard.ktr adminOnly=false parameters=file example: http://${hotname}:${port}/pentaho/plugin/layoutEditor/api/load_dashboard?paramfile=/public/tests/tests.cdfde
-
type=Kettle, name=list_widgets filePath=${PENTAHO_SOLUTION_FOLDER}/system/layoutEditor/endpoints/kettle/list_widgets.ktr adminOnly=false
-
[save_dashboard]: NOT YET IMPLEMENTED id=save_dashboard, type=Kettle, name=save_dashboard filePath=${PENTAHO_SOLUTION_FOLDER}/system/layoutEditor/endpoints/kettle/save_dashboard.ktr adminOnly=false parameters=file,content example: http://${hotname}:${port}/pentaho/plugin/layoutEditor/api/load_dashboard?paramfile=/public/tests/tests.cdfde&content="{...}"