I am using nested asset listing in a paint layout and want to call a metadata field from the page. Currently if I use the %asset_metadata_metadatafield% in the page contents of the asset listing it just returns the metadata of the asset listing asset. I am after the metadata of the page, basically what this keyword would do in theory, but obviously nested listing don't work...: %globals_asset_metadata_metadatafield:%root_nodes%%
Not sure about for paint layouts, but if I nest an asset listing in a std page I can just use %globals_asset_metadata_metadatafield%. It will pick up the metadata of the containing page, rather than the currently listed asset.
Update: Original question sounds like getting metadata from the containing page, but if you want to get the metadata of the root nodes you would use this syntax: