Dice button properties cannot be used in expression

Hello everybody,
I try to use the dice button property _total in an expression, but I have an expression evaluation error message, even when I use it in the dice button message.


What can I do ?

I suspect property name starting with a numeric is not acceptable directly within Beanshell.

Try changing the Property Name of 1D10_Total or try this in the Beanshell GetProperty("1D10_Total")

Or, as this is a simple report with no in-built computation, you could use a legacy expression. Type your report literally into the report field, not using the Expression Builder or using {}. Like this:
** $name$ = $result$ ** $1D10_total$

Many thanks mark !
it was the issue, now, I know that property name starting with a numeric is not acceptable directly within Beanshell
best regards

1 Like