There’s a few fields like this that don’t accept beanshell. Layer and text offsets (and colors) are other examples.
In general, most fields without the “caculator” icon do not accept beanshell. Exceptions I know of are the text fields in the Text Label and Report Action traits. Also, in the Prompt field of Dynamic & Global Properties if I recall correctly.
I’ve tried using an expression in the prompt area of a DP (Prompt user to select from list). I’ve tried BasicName, $BasicName$, {$BasicName$}, {BasicName}, GetProperty(“BasicName”), the last also with enclosing $ and {}. No joy. I’m guessing that adding an expression to the prompt field of a DP is not possible. However, if it is possible, how to do so?