I created some Custom widget types and cell renderers using IcCube reporting V8 (ic3-reporting-api). Is there a way to link some help to these as it exists for original components ?
Custom cell renderer :
I created some Custom widget types and cell renderers using IcCube reporting V8 (ic3-reporting-api). Is there a way to link some help to these as it exists for original components ?
Custom cell renderer :
Copyright © 2021 Jogjafile Inc.


Widgets
You can add some documentation/help that will be available in the editor via the (?) icon. The framework is searching in the server
Docsfor an MD file located either in theic3-reporting/app-localfolder or in the official documentation folder (i.e.,ic3-reporting/doc).The name of the file is built from the widget template as following:
So, let's say you've created a custom table widget named
SimpleTablein your plugin namedMyPluginJSand register this widget into thechartsection, then the MD filename would be:This name is then translated into a path:
And it is searched first in
ic3-reporting/app-localusing first the user's locale and then English:Eventually, it is searched in the
ic3-reporting/docfolder for the English locale only:But, adding your documentation to the
ic3-reporting/docfolder is not recommended as this directory will be overwritten on each installation of a new version of the reporting application.Transformations
The same mechanism is used for the transformations. The path would be as following:
Note that the pluginId is not used for the transformations path in v8.2.2 (this will be fixed in v8.3).
Edit: Forgot to mention the
app-local/ic3report-config.jsmust be updated as folllowing: