I have a point feature class which is the centroid of a polygon with an attribute for status. I would like to be able to symbolize the polygon based on the attributes of the point. The two do share a common GUID and there is only one point in each polygon.
I can do it in the attribute table using this:
<SPAN class="keyword token">var</SPAN> GUID <SPAN class="operator token">=</SPAN> $feature<SPAN class="punctuation token">.</SPAN>GUID
<SPAN class="keyword token">var</SPAN> Lot <SPAN class="operator token">=</SPAN><SPAN class="token function">Filter</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="token function">FeatureSetByName</SPAN><SPAN class="punctuation token">(</SPAN>$map<SPAN class="punctuation token">,</SPAN><SPAN class="string token">"Points"</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="string token">"GUID = @GUID "</SPAN><SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">return</SPAN> <SPAN class="token function">first</SPAN><SPAN class="punctuation token">(</SPAN>Lot<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">[</SPAN><SPAN class="string token">"Status"</SPAN><SPAN class="punctuation token">]</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
These functions aren't available to in symbolization.
Any help?