attribute rules and retrive data from table

292
0
07-01-2020 07:00 AM
OrrGvili
New Contributor III

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 

var id =  Text($feature.PlotID)
var features =FeatureSetByName($datastore,"Plots",["PlotID","PlotName"])
var res = Filter(features,"PlotID =  @id")
return res.PlotName‍‍‍‍
Tags (2)
0 Kudos
0 Replies