Page 1 of 1

How to customize dashboard in processmaker community edition

Posted: Thu Jul 19, 2018 6:03 am
by ShaliniJain1403
I wanted to customize dashboards so that it shows pie chart with custom fields in community edition?

Is that possible?

Please Help

Re: How to customize dashboard in processmaker community edition

Posted: Thu Jul 19, 2018 4:13 pm
by andreaadamczyk
Hello ShaliniJain,

That functionality is available in an enterprise plugin and is not part of the ProcessMaker core, so at the moment is not possible to customize dashboards that show a pie chart with custom fields in the ProcessMaker community edition.

Best regards.

Re: How to customize dashboard in processmaker community edition

Posted: Thu Jul 19, 2018 8:09 pm
by amosbatto
If you are a PHP programmer, you can create a plugin with a new dashlet to show in the dashboard.

If you want to understand how dashlets work, then read the source code in:
workflow/engine/controllers/dashboard.php
workflow/engine/classes/model/Dashlet.php

Re: How to customize dashboard in processmaker community edition

Posted: Mon Jul 23, 2018 3:13 am
by ShaliniJain1403
Thanks amosbatto,

How can i create a new plugin in windows system ?

i get the following error while executing the command

C:\Bitnami\processmaker-3.2-0\apps\processmaker\htdocs\workflow\engine>gulliver-
win.bat new-plugin deleteCases
The system cannot find the path specified.
Press any key to continue . . .


Pls help

Re: How to customize dashboard in processmaker community edition

Posted: Tue Jul 24, 2018 1:03 am
by amosbatto
Creating plugins in Windows is experimental. I've never tried it. I recommend installing ProcessMaker in Linux and doing it the recommended way.

If you don't want to install Linux, here is a empty dashlet plugin that you can import:
(23.5 KiB) Downloaded 363 times
Then, edit the files in workflow/engine/plugins/myDashlet.php and in the workflow/engine/plugins/myDashlet directory to customize it. You should disable it and then reenable it in the ProcessMaker interface after making changes to the plugin's source code.