3

Esri allows us to choose the style of the metadata we would like to use: enter image description here

Those styles allow you to add more specific metadata e.g. more description about a specific field like this:

the problem is, that this extra metadata is not accessible from the REST API, as you can see in the picture below: enter image description here

the "extra" fields are nowhere to be found

  • "though it may be easier just to copy and paste some elements or a hyperlink to a published metadata file into service/layer summaries when publishing" Easier? If this was available, then you could automatically get the metadata without having to worry whether your export was up to date, not to mention exporting and linking to it for every layer you have. – Scaddenp Dec 22 '16 at 2:29
2

While as you have discovered the ArcGIS Server REST API doesn't expose Metadata, ArcGIS Portal and ArcGIS Online now support storing metadata for content items. This supports the listed metadata styles only and doesn't extend to custom stylesheets.

If you did need to expose this metadata through the REST API then it should be possible by writing a Server Object Extension, though it may be easier just to copy and paste some elements or a hyperlink to a published metadata file into service/layer summaries when publishing.

| improve this answer | |
  • Got conformation from ESRI support for that as well. – Igal Apr 6 '16 at 14:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.