Hi,
I created a feature request at https://github.com/qgis/QGIS/issues/51116
The parameters need to be discussed ...
Andreas
On 2022-12-05 00:54, Nyall Dawson wrote:
On Wed, 30 Nov 2022 at 00:06, Andreas Neumann via QGIS-Developer
<qgis-developer@lists.osgeo.org> wrote:
Hi,
I am looking for a way to find out the internal id of a related layer
with a QGIS expression.
@id and $id only work directly on the feature of the source layer, but
not on related layers.
attributes(
get_feature(
'Other Related Layer',
't_id',
fkey_value
)
)
doesn't contain the internal id of the other layer ...
Any ideas how to get access to internal ids of other layers?
This is indeed a silly limitation -- we need a "feature_id(...)"
expression function!
Can you file a feature request for this?
Nyall
Thank you and greetings,
Andreas
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer