Configure custom widget to open at app startup in Portal

280
1
09-19-2022 01:09 AM
ViktorSafar
Occasional Contributor II

Hi, I have a custom widget built in WAB dev edition. Our client is running the widget in their onsite Portal and wants the widget to activate on application startup. 

I found the "openAtStart" flag but that belongs to a config file (server/apps/{id}/config.json) that is not accessible to me or anyone building apps in WAB on the portal. (Locally on my WAB dev the flag works well.)

My understanding is that there is nothing I can do in the widget's code/config to make it open at app startup (in which case this question is more suited for a portal/WAB forum) but maybe I am wrong.

Tags (2)
0 Kudos
1 Reply
ViktorSafar
Occasional Contributor II

It has now come to my attention that the way to activate a widget on app startup is by the little dot in the bottom left corner of the widget icon in WAB.  You can set one widget per controller to activate on app startup.

ViktorSafar_0-1663590778299.png

 

However, as I would like to know if there is a way to do this from within the widget, I'll leave the question open for now.

0 Kudos