<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi,</p>
<p>I am looking for a way to find out the internal id of a related layer with a QGIS expression.</p>
<p>@id and $id only work directly on the feature of the source layer, but not on related layers.</p>
<p>attributes(<br /> get_feature(<br /> 'Other Related Layer',<br /> 't_id',<br /> fkey_value<br /> )<br />)</p>
<p>doesn't contain the internal id of the other layer ...</p>
<p>Any ideas how to get access to internal ids of other layers?</p>
<p>Thank you and greetings,</p>
<p>Andreas</p>
</body></html>