Adding layer to feature service?

1355
2
Jump to solution
10-03-2013 11:07 AM
TomStimmell
New Contributor
Is it possible to add a layer to a feature service through the REST API? I haven't been able to find anything in the documentation.
0 Kudos
1 Solution

Accepted Solutions
AnttiKajanus1
Occasional Contributor III
I think you need to update whole service definition to achieve that. So change definition json and create it again.

Are you working with Hosted services or Server ones?

One place to check more information : http://resources.arcgis.com/en/help/arcgis-rest-api/#/Administering_ArcGIS_Online_hosted_services/02...

View solution in original post

0 Kudos
2 Replies
AnttiKajanus1
Occasional Contributor III
I think you need to update whole service definition to achieve that. So change definition json and create it again.

Are you working with Hosted services or Server ones?

One place to check more information : http://resources.arcgis.com/en/help/arcgis-rest-api/#/Administering_ArcGIS_Online_hosted_services/02...
0 Kudos
TomStimmell
New Contributor
Thanks. That appears to be exactly what I was looking for. I was expecting to find it elsewhere in the API documentation.
0 Kudos