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.
Solved! Go to Solution.
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:
* Snippets:
Thanks
Uma
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:
* Snippets:
Thanks
Uma
Thank you very much.
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)?
Hi Nathan,
This feature is not available yet. This will be added to the public API in 2020.
Thanks
Uma
Hi,
Is this functionality available now? Any update on this?
Regards,
Laxmikanth
Checking to see if any updates have happened in regards to metadata availability in ArcGIS Pro SDK. I can get meta data from a MapMember object like a BasicFeatureLayer or StandAloneTable. But it would be nice to be able to get the meta data from a Table or RelationshipClass object that is not in the project or map.
Would like to be able to do something like this:
var table = Geodatabase.OpenDataset<Table>(tableName);
var tableMetadata = table.GetMetadata();
var relationship = Geodatabase.OpenDataset<RelationshipClass>(relationshipName);
var relationshipMetadata = relationship.GetMetadata();