strated working with attribute ruls and got stuck
i have layer with the rules and big table with uiniq id and name
i need to populate the PlotName in the layer with the name from the table
but when i try to retrive the name i get "Dictionary Type Expected"
i know i miss someting but dont know what
<SPAN class="keyword token">var</SPAN> id <SPAN class="operator token">=</SPAN> <SPAN class="token function">Text</SPAN><SPAN class="punctuation token">(</SPAN>$feature<SPAN class="punctuation token">.</SPAN>PlotID<SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">var</SPAN> features <SPAN class="operator token">=</SPAN><SPAN class="token function">FeatureSetByName</SPAN><SPAN class="punctuation token">(</SPAN>$datastore<SPAN class="punctuation token">,</SPAN><SPAN class="string token">"Plots"</SPAN><SPAN class="punctuation token">,</SPAN><SPAN class="punctuation token">[</SPAN><SPAN class="string token">"PlotID"</SPAN><SPAN class="punctuation token">,</SPAN><SPAN class="string token">"PlotName"</SPAN><SPAN class="punctuation token">]</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">var</SPAN> res <SPAN class="operator token">=</SPAN> <SPAN class="token function">Filter</SPAN><SPAN class="punctuation token">(</SPAN>features<SPAN class="punctuation token">,</SPAN><SPAN class="string token">"PlotID = @id"</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">return</SPAN> res<SPAN class="punctuation token">.</SPAN>PlotName<SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>