${variables} can't be evaluated in a page layout visibility condition field

i want a page layout to only be visible to a certain user whose userID is equal to a record.values.fieldname, i try to use this condition : record.values.fieldname == ${userID} but it fails to show the layout with an error (…unexpected “$” while scanning extensions)

You should replace ${userID} with user.userID since there is no interpolation here but instead, the parameters are always available.

Here you can see all available parameters Page Layouts :: Corteza Docs

1 Like

thank you soo much :people_hugging: