I have tried it with this template:
But when I generate instance, I get this:
Is it possible, that also the instance name is affected by the valueholders?
The instance name comes from Template Display Name at the top of the template initially. The field doesn't allow for value holders, you can only update the instance name after it's generated. From the instance view you should the Instance file name field to update.
Thank you Spar for your response. This is what I was trying to avoid - manual renaming after instance creating.
Maybe there is some other way to make the instance name accessible for valueholders.
If you're doing this through the RMA, you might be able to extend the save method then check if its that specific template and through the api try to update the name. Not exactly sure how that would work or if that part is available in the api but I've done similar manipulation on actions from within the RMA. Just a thought.
I'm curious, if it has the function name correct, why are you worried about what the instance name is?
Retrieving data ...