Hi All, I'm wondering if anyone is able to help please as i'm very new to Python. I have a hosted feature layer stored in AGOL, which includes 1 polygon layer and 4 tables (all related back to the polgon layer).
I am wanting to add a new table into this hosted feature layer and then create a relationship between this new table and the polygon layer. I have come across this document which highlights the python script: How To: Add a Relationship Class to a Hosted Feature Layer Using ArcGIS API for Python (esri.com), but looking at it, i get the impression it's thinking the feature table is already within the hosted feature layer and it's only stating me to input the "Access the hosted feature layer and retrieve the item ID" once.... am I right?
Is what I am after acually doable? I don't know of an easy way to add the table into the existing hosted feature layer already and i'm not able to export and republish due to access is constantly required.