I'm trying to make a widget which will perform some background task.
The user should have no interaction with it, so I would like this widget was started on webapplication startup, and was not visible.
I read in the doc that a preload wirdget will fit my needs, and I just need to set the manifest's property inPanel to false :
{
"name": "BkgTask",
"label": "DEV",
"platform": "HTML",
"type": "widget",
"version": "2.8",
"wabVersion": "2.8",
"copyright": "2021",
"properties": {
"inPanel": false,
"hasUIFile": false,
"hasLocale": false,
"hasStyle": false,
"hasConfig": false,
"hasSettingPage": false,
"hasSettingUIFile": false,
"hasSettingLocale": false,
"hasSettingStyle": false
}
}
And for the moment my Widget.js only do a : console.log("Hello world")
But when I start a WAB I don't see my custom widget near to Scalebar widget or other preloaded widget (see attached screenshot).
What I missed in my widget configuration ?