Skip to main content

I have a very basic workbench that includes one section reads from an SDE and writes to a hosted AGOL layer. It is set to truncate existing. The script writes all the polygons as expected but none of the attribution for the polygons comes through. 

 

I have confirmed the attributes are correctly named. I have tried removing and re-adding the hosted writer. 

Weirdly, the script also writes different data to a separate hosted layer and that functions fine. 

Has anyone else had this happen? Any ideas on solutions? 

Hi ​@achambers_ciri 

AGOL can be picky. Check your data types and make sure they make sense. Also check the field name vs Alias on the AGOL Hosted Feature Layer. 

You may find that adding a reader for that AGOL layer in your workspace also fixes the issue.

Hope that helps!


….Also check the field name vs Alias on the AGOL Hosted Feature Layer. 

 

 

This! Its caught me out many times. Also field name length is limited to 31 characters in Agol. The field names automatically truncate in Agol so its worth checking they match in FME