How to access metadata in arcgis pro sdk

906
5
Jump to solution
10-19-2018 02:07 AM
servicesigu
New Contributor III

Hi,

I would like to retrieve some metadata tags from layers, to automatically build credits for the map.

How to get a tag from metadata for a layer ?

How to set credits for a map when a new map is created ?

How to update credits when the content of a map changed ?

Which class to use ?

Could someone help me ?

Thanks.

0 Kudos
1 Solution

Accepted Solutions
UmaHarano
Esri Regular Contributor

Hi,

Check out this response: how to retrieve/set metadata on a layer 

But you should be able to get and set metadata for project items at this time: 

Item Metadata 

* Snippets:

Thanks

Uma

View solution in original post

0 Kudos
5 Replies
UmaHarano
Esri Regular Contributor

Hi,

Check out this response: how to retrieve/set metadata on a layer 

But you should be able to get and set metadata for project items at this time: 

Item Metadata 

* Snippets:

Thanks

Uma

0 Kudos
servicesigu
New Contributor III

Thank you very much.

0 Kudos
NathanWarmerdam
New Contributor III

Uma Harano That response you linked to says that retrieving / setting metadata on a layer is not supported (or was not at the time).  Is this still the case?  For example, I would like to retrieve the thumbnail from a layer file... is this possible (outside of manually opening the xml myself)?

0 Kudos
UmaHarano
Esri Regular Contributor

Hi Nathan,

This feature is not available yet. This will be added to the public API in 2020.

Thanks

Uma

Laxmikanth
New Contributor

Hi, 

Is this functionality available now? Any update on this? 

Regards, 

Laxmikanth

0 Kudos