I have a layer inserted in QGIS.

When I select/interact various elements together, to distinguish them the interface offers me grouping by UUID which is the primary key.

Of course I want UUID to remain the primary key, but the question is if it is possible to show as "search key" (in the attached case) another more understandable field as an alternative to UUID (even if it is not a primary key and if there would be duplicates).

For example, "Post Office" for the first and "Restaurant" for the second in this case, attributes set in a "Type" field.

This would also be useful in using Qfield (I convert the project).

Set another field than UUID.

1 Answer 1


Go to the layer properties (right click on it then properties...) there in the Display tab you may set the display name and choose any field you want; you could even use an expression to fully personalize the display name (for example you may want to display both the type and the uuid or an address to differentiate between element of the same type)


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.