Logmanager dokumentace
Přepnout tmavý/světlý/automatický režim Přepnout tmavý/světlý/automatický režim Přepnout tmavý/světlý/automatický režim Zpět na domovskou stránku

Dictionary set index

This section is available only in English

This block is used to add new or modify existing keys in the existing dictionary. Required dictionary name is defined in the left part, name of the key is defined in the middle part and new value of the key is defined in the right part.

Block XML representation

XML representation of dictionaries_set_index block

<xml xmlns="http://www.w3.org/1999/xhtml">
  <block type="dictionaries_set_index">
    <mutation at="true"/>
    <value name="VALUE">
      <block type="variables_get">
        <field name="VAR">dictionary</field>
      </block>
    </value>
    <value name="AT">
      <block type="text">
        <field name="TEXT">key</field>
      </block>
    </value>
    <value name="TO">
      <block type="text">
        <field name="TEXT">value</field>
      </block>
    </value>
  </block>
</xml>

Example of visual representation

Block "Dictionary set index"

Block “Dictionary set index”

Example of block usage

Example of "Dictionary set index" block

Example of “Dictionary set index” block

Block “Dictionary set index” is used on the row “in dictionary item set” in the example:

  • New key “user” is created in the “item” dictionary with value of the “user” variable (ie. administrator).

Input data

Login permitted from 192.168.10.1/1234 to inside:192.168.1.1/https for user admin

Processing result

Results of "Dictionary set index" block

Results of “Dictionary set index” block