Drew,
Are you wanting to add this widget to one specific app of have all defaults apps use this widget?
Either way this type of widget is not available to add in the GUI without some manual configuration first.
If for just one specific app then there two steps:
- Copy the widgets folder to the apps widgets folder i.e. \server\apps\xx\widgets
- Add the widget manually to the \server\apps\xx\config.json
Example:
{
"uri": "widgets/customHomeButton/Widget",
"position": {
"left": 7,
"top": 145
},
"version": "1.1",
"id": "widgets/customHomeButton/Widget_77",
"positionRelativeTo": "map",
"name": "customHomeButton",
"label": "Custom Home Button"
},
If adding it to the default for all future apps (the user can still make it not visible like the others) then there is just one step:
- Add the above sample json code to the \client\builder\predefined-apps\default2DApp\config.json