How to display custom metadata in ArcGIS Pro

424
4
05-31-2023 12:01 AM
_slp_
by
New Contributor

Hello,

I’ve used the ArcGIS Pro SDK ‘Metadata Toolkit’ and user guide on GitHub to successfully create a custom metadata editor page (similar to the screenshot below), however, there doesn’t seem to be any documentation on how to actually display this information when you save and close the editor.  The guide on GitHub mentions XLST stylesheets but there are no steps to follow or code samples to show how this is achieved. 

Any help or assistance would be very much appreciated.

_slp__0-1685516297861.png

https://github.com/Esri/arcgis-pro-metadata-toolkit

https://github.com/Esri/arcgis-pro-metadata-toolkit/wiki/Customize-the-metadata-display

 

0 Kudos
4 Replies
GKmieliauskas
Esri Regular Contributor

Hi,

Have you seen MetadataViewer sample?

0 Kudos
_slp_
by
New Contributor

Thanks GintautasKmieliauskas  but what I'm really after is for the new custom fields to be viewed back in the standard metadata view in Pro ...

_slp__0-1685531937770.png

 

 
0 Kudos
CharlesMacleod
Esri Regular Contributor

Looks like u select your/the custom Profile on the Pro options:

https://github.com/Esri/arcgis-pro-metadata-toolkit/wiki/Build-your-first-ArcGIS-Pro-metadata-editor...

see step 10 and step 15.

 

Metadata Related:

Item metadata is described here: https://github.com/Esri/arcgis-pro-sdk/wiki/ProConcepts-Content-and-Items#item-metadata

There are some metadata related snippets here: https://github.com/Esri/arcgis-pro-sdk/wiki/ProSnippets-Content#item-get-its-imetadata-interface

 

0 Kudos
_slp_
by
New Contributor

Thanks so much for your help Charles, really appreciate it.

Yeah, i've done steps 10-15, but this only displays your custom metadata editor page, as soon as you save your edits and close the editor you cannot see the new custom fields. The other links seems to be more about grabbing the xml metadata and doing some backend processing, rather than displaying it.

It's just a bit frustrating as the GitHub guide gets you 90% of the way there.  I probably should have started off this thread by saying i'm very new to developing and using the SDK ... i was just trying to see if you could amend the metadata without years of development experience.

Anyway, I'd be very keen to hear from ESRI and if they are planning on updating or adding to the guides, or even better do a webinar.

0 Kudos