<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Dialog mittels control.command schließen]]></title><description><![CDATA[<p dir="auto">ein <em>jqui Container Button</em> wird ein modalen Dialog geöffnet der nach bestimmter Eingabe über Skript wieder geschlossen werden soll.</p>
<p dir="auto">Aber keine der 3 Varianten schließt das Fenster. Irgendwas mache ich noch falsch ? Kann mir jemand einen Tipp geben Danke !</p>
<pre><code>setState("vis.0.control.command", '{"instance": "FFFFFFFF", "command": "dialogClose"}');
 //setState("vis.0.control.command", '{"instance": "FFFFFFFF", "command": "dialogClose", "data": "DialogName"}');
 //setState("vis.0.control.command", '{"instance": "FFFFFFFF", "command": "dialogClose", "data": ""}');
</code></pre>
]]></description><link>https://forum.iobroker.net/topic/43367/dialog-mittels-control-command-schließen</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 16:03:16 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/43367.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 18 Mar 2021 14:18:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Dialog mittels control.command schließen on Fri, 19 Mar 2021 08:37:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mcu" aria-label="Profile: mcu">@<bdi>mcu</bdi></a> sagte in <a href="/post/600895">Dialog mittels control.command schließen</a>:</p>
<blockquote>
<p dir="auto">@lommi<br />
In der Auswahlbox zum Datenpunkt: <strong>vis.0.control.command</strong> gibt es nur folgende Einträge:<br />
...</p>
</blockquote>
<p dir="auto">auf die Idee dort nachzusehen bin ich gar nicht gekommen. Beschäftige mich mit VIS noch nicht so lange :-)<br />
Hatte das Command <em>dialogClose</em> aus der Doku ...</p>
<p dir="auto">Anstelle eines Popup öffne ich nun ein normales View, tippe den Code ein und springe nach korrekter Eingabe gewünschtes View an.</p>
]]></description><link>https://forum.iobroker.net/post/600957</link><guid isPermaLink="true">https://forum.iobroker.net/post/600957</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Fri, 19 Mar 2021 08:37:09 GMT</pubDate></item><item><title><![CDATA[Reply to Dialog mittels control.command schließen on Fri, 19 Mar 2021 01:00:40 GMT]]></title><description><![CDATA[<p dir="auto">@lommi<br />
In der Auswahlbox zum Datenpunkt: <strong>vis.0.control.command</strong> gibt es nur folgende Einträge:<br />
<img src="/assets/uploads/files/1616114779972-efb6ba0a-3ad1-46b7-9854-bf47cc85f1ef-image.png" alt="efb6ba0a-3ad1-46b7-9854-bf47cc85f1ef-image.png" class=" img-fluid img-markdown" /><br />
Bei mir öffnet sich nicht einmal der Dialog?<br />
Vielleicht machst du ein Issue auf?<br />
<a href="https://github.com/ioBroker/ioBroker.vis/issues" rel="nofollow ugc">https://github.com/ioBroker/ioBroker.vis/issues</a></p>
<p dir="auto">In der Beschreibung zum VIS-Adapter steht:<br />
dialog - Show dialog window. Dialog must exist on view. One of:</p>
<p dir="auto">static - HTML - Dialog,<br />
static - Icon - Dialog,<br />
container - HTML - view in jqui Dialog,<br />
container - ext cmd - view in jqui Dialog,<br />
container - Icon - view in jqui Dialog,<br />
container - Button - view in jqui Dialog.<br />
control.data must have id of dialog widget, e.g. w00056.</p>
<p dir="auto">dialogClose</p>
]]></description><link>https://forum.iobroker.net/post/600895</link><guid isPermaLink="true">https://forum.iobroker.net/post/600895</guid><dc:creator><![CDATA[MCU]]></dc:creator><pubDate>Fri, 19 Mar 2021 01:00:40 GMT</pubDate></item></channel></rss>