I am curious if there is a way to get all features from a certain layer that are visible in the current map. I am aware that this could be done using the checkbox in the attribute table object but I want to use the label object instead of the attribute table.
Basic Example: I want to print out plans of individual parcels of land in different municipalities. Instead of having to edit the plan header manually every time (parcel number, municipality,...), it should automatically display the name of the municipality, depending on the current 'field of view' of the map window of the print composer. The individual parcel in focus on one map always lies within a municipality. Two layers exist for this purpose: Parcels (with parcel number; Polygon) Municipalities (with municipality name to be displayed in the label; Polygon)
TLDR: I want a certain attribute value to appear in a label but only for those features visible within the current map extend.