Select to view content in your preferred language

how to retrieve/set metadata on a layer

1640
6
Jump to solution
05-30-2018 03:11 PM
SuzanChau
Emerging Contributor

Using the C# ArcObject SDK, I can set/get metadata on a layer with the following calls:

IRasterLayer layer = ...;

ESRI.ArcGIS.Geodatabase.IDataset dataset = layer as IDataset;
ESRI.ArcGIS.Geodatabase.RasterDatasetName objectClassName =(ESRI.ArcGIS.Geodatabase.RasterDatasetName)dataset.FullName;
ESRI.ArcGIS.Geodatabase.IMetadata metadata = (ESRI.ArcGIS.Geodatabase.IMetadata)objectClassName;

IPropertySet properties = (IPropertySet)metadata.Metadata;

is there anything equivalent in ArcGIS Pro SDK?

1 Solution

Accepted Solutions
RichRuh
Esri Regular Contributor

No, we haven't yet added support for metadata to the ArcGIS Pro API.

View solution in original post

0 Kudos
6 Replies
RichRuh
Esri Regular Contributor

No, we haven't yet added support for metadata to the ArcGIS Pro API.

0 Kudos
SuzanChau
Emerging Contributor

Is there plan to add it in the near future?

0 Kudos
RichRuh
Esri Regular Contributor

It's in our roadmap to be sure, but unfortunately no plans for the short-term.

0 Kudos
by Anonymous User
Not applicable

I'm also waiting patiently for metadata access in Pro SDK... can't come soon enough!

Laxmikanth
Emerging Contributor

Hi, Any update on this? Is this functionality available now? 

Regards, 

Laxmikanth

0 Kudos
LarsDomesjö
Occasional Contributor

Upvote for this feature, I too am in need to update metadata on features at the moment.

0 Kudos