In other words: multiple feature services which share a common datasource. Is this possible or should I use ArcGIS Server to achieve this?
I tried to use the updateDefinition operation in order to change the source:
(without any luck)
"adminLayerInfo" : {
"tableName" : "my shared table"
Best Regards,
Laurens
Solved! Go to Solution.
My conclusion is that (the current release) of ArcGIS Online does not provide the fine grained control of datasources and security I am looking for:
- Not possible to configure an AGOL service to use multiple access rules for different users or groups
- Not possible to share a common datasource between multiple AGOL services
In my specific case I worked around this issue by using two different apps and configuring a proxy page:
It would also be possible to use ArcGIS Server as a fallback option.
Hi,
I tried to do the same using addToDefinition operation according the ArcGIS REST API documentation, which is followed by this error message: table XXX cannot reference more than one layer.
So, it seems it is not supported on the data source level.
What I am trying to do is to publish data (as AGOL hosted feature service) for editors (only selected users) as well as for viewers (Everyone). As editors edit data, viewers see the changes. To accomplish this, I need two services sitting on top of the same data source, which seems is not supported by AGOL.
Regards,
Matej
Matej Vrtich Did you find a way to accomplish using the same data source for editors and viewers?
My conclusion is that (the current release) of ArcGIS Online does not provide the fine grained control of datasources and security I am looking for:
- Not possible to configure an AGOL service to use multiple access rules for different users or groups
- Not possible to share a common datasource between multiple AGOL services
In my specific case I worked around this issue by using two different apps and configuring a proxy page:
It would also be possible to use ArcGIS Server as a fallback option.
Did you reach out to @esri team?
If I cannot use the same hosted data for two different map services (one for publishing & one for editing), it fails to meet a very basic data requirement.
Can anyone at ArcGIS Online respond to my query?
Has this been fixed by any chance? I am in a position where I'd like to be able to swap in/out individual FCs that underpin Hosted Feature Service layers. This is a big, 300GB ish service with 30 layers. Originally they come from multiple FGDBs. Then for publishing to AGOL get consolidated to a single endpoint. As such I dont want to refresh the entire service when only one source FGDB needs updating. It would be much greater if I could upload the FGDB and repoint my service definition to the new. up to date endpoint.