I have a textbox field, that is bound to a property, which is also used as service name in the service tab. However, AI uses the default name of the property to start the service which leads to an error, if the user wants to change the service name.
I just checked the property again and it seems that AI placed a pipe "|" after the bracket (I used the "Select a property" window), after is removed the pipe it's working. Is there any reason for this behavior?
There are two types of fields:PseudoFormatted and Formatted.
References embedded in a PseudoFormatted string must respect the following syntax: [|propertyname]
References embedded in a Formatted string must respect the following syntax: [propertyname]
Properties referenced by PseudoFormatted fields are resolved at build time while properties referenced by Formatted fields are resolved at runtime.
We use the PseudoFormatted type as default due to some limitations in our interface framework, but the "Service Name" field supports both formats.
If you use the formatted type your property will be resolved at runtime, so what you did is correct.
FOLLOW US
Get the latest news in Application Packaging