How to use custom field in Shopware 5 item url?

@NextMike‍ it worked with the attr1, do you have any idea why it didn’t work with a new custom field?