I have a service published in ArcGis Online that consists of a layer and two related tables.
I have to access one of the tables to write a url and I'm using Pandas to do it. Until now it worked correctly, but now I get the following error.
item <SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;">=</SPAN> gis<SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;">.</SPAN>content<SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;">.</SPAN><SPAN class="" style="color: #0077aa; border: 0px; font-weight: inherit;">get</SPAN><SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;">(</SPAN><SPAN class="" style="color: #669900; border: 0px; font-weight: inherit;">"xyz"</SPAN><SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;">)</SPAN>
foto <SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;">=</SPAN> <SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;">(</SPAN>item<SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;">.</SPAN>tables<SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;">)</SPAN><SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;">[</SPAN><SPAN class="" style="color: #990000; border: 0px; font-weight: inherit;">1</SPAN><SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;">]</SPAN>
field_service_dataframe <SPAN class="" style="color: #a67f59; background: rgba(255, 255, 255, 0.5); border: 0px; font-weight: inherit;">=</SPAN> pd<SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;">.</SPAN>DataFrame<SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;">.</SPAN>spatial<SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;">.</SPAN><SPAN class="" style="color: #d74444; border: 0px; font-weight: inherit;">from_layer</SPAN><SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;">(</SPAN>foto<SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;">)</SPAN>
Could not load the dataset<SPAN class="operator token">:</SPAN> <SPAN class="string token">'PropertyMap'</SPAN> instance has no attribute <SPAN class="string token">'drawingInfo'</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
If I want to access the layer, I can create the dataframe correctly; however with a table I can't.
Is it normal that only the data of the layer can be accessed or I have something missing in my code?