Hi George,
(Mobile app / emulator / Capacitor + bootstrap5)
Setting an url in the field do not set the url in the meta… ie the sockets is not well setted… and refresh does not work.
As soon as I add sockets="true"
in the meta dmx-serverconnect
the result is not displayed anymore in my app.
<dmx-socket id="socket1"></dmx-socket>
<dmx-serverconnect id="scGetMaintenance" url="https://v2.giloo.me/api/admin/mode_maintenance/maintenance" credentials="true" sockets="true"></dmx-serverconnect>
<script is="dmx-flow" id="flow_check_maintenance" type="text/dmx-flow" autorun="true">{
condition: {
if: "{{scGetMaintenance.data.queryGetModeMaintenance.actif==true}}",
then: {
steps: {
run: {
action: "{{browser_main.goto('/index.html#!/maintenance',true)}}",
output: true,
outputType: "text"
}
}
},
outputType: "boolean"
}
}</script>
<p>maintenance :{{scGetMaintenance.data.queryGetModeMaintenance.actif}}</p>
Thanks for your help.
I need to refresh not only this maintenance SC but every SC from my app.
Sylvain