I try to make «copyright» decoration in QGIS dynamic.
I have a surface layer «COMMUNE» with a "NAME" field.
I try to write an expression that allows me to display this "NAME" in the decoration, I manage to get the center with
[%geom_to_wkt( @map_extent_center) %]
but then I get lost between the get_feature and attribute().