Tokenizing Application Properties
To tokenize application properties, a new button Tokenize the property is added in the Properties view for application properties. Tokenizing supports properties of type boolean, string, integer, long, and password.
After tokenization, the property value is set in the format //<ApplicationName>//<PropertyName>. Once the user tokenizes a property, the original default value for the property is lost.
After the property is exported, it is auto-tokenized in TIBCO BusinessWorks™ Studio depending on the deployment target selected for the application project.
The following table lists the values of five different types of properties if the default tokenized values are not provided for all the properties and exported as properties file
Data Type | Property Name | Values Before Tokenization | Values After Tokenization/ Values Before Export | Values after Export | Values after Export in the properties file | ||||
---|---|---|---|---|---|---|---|---|---|
Default | Default | Default | Default | ||||||
String | newProperty5 | #//test//newProperty5# | #//test//newProperty5# | newProperty5 | |||||
Password | newProperty4 | #//test//newProperty4# | #//test//newProperty4# |
a String: PASSWORD |
|||||
Integer | newProperty3 | 0 | #//test//newProperty3# | #//test//newProperty3# | 0 | ||||
Long | newProperty2 | 0 | #//test//newProperty2# | #//test//newProperty2# | 0 | ||||
Boolean | newProperty1 | false | #//test//newProperty1# | #//test//newProperty1# | false |
The following table lists the values of five different types of properties if the default tokenized values are provided for all the properties and exported as properties file
Data Type | Property Name | Values Before Tokenization | Values After Tokenization/ Values Before Export | Values after Export | Values after Export in the properties file | ||||
---|---|---|---|---|---|---|---|---|---|
Default | Default | Default | Default | ||||||
String | newProperty5 | TIBCO | #//test//newProperty5# | #//test//newProperty5# | newProperty5 | ||||
Password | newProperty4 | *** | #//test//newProperty4# | #//test//newProperty4# |
a String: PASSWORD |
||||
Integer | newProperty3 | 1 | #//test//newProperty3# | #//test//newProperty3# | 0 | ||||
Long | newProperty2 | 12345 | #//test//newProperty2# | #//test//newProperty2# | 0 | ||||
Boolean | newProperty1 | true | #//test//newProperty1# | #//test//newProperty1# | false |
Data Type | Property Name | Values Before Tokenization | Values After Tokenization/ Values Before Export | Values after Export | Values after Export in the properties file | ||||
---|---|---|---|---|---|---|---|---|---|
Default | Default | Default | Default | ||||||
String | newProperty5 | TIBCO | #//test//newProperty5# | #test.newProperty5# | newProperty5 | ||||
Password | newProperty4 | *** | #//test//newProperty4# | #test.newProperty4# |
a String: PASSWORD |
||||
Integer | newProperty3 | 1 | #//test//newProperty3# | #test.newProperty3# | 0 | ||||
Long | newProperty2 | 12345 | #//test//newProperty2# | #test.newProperty2# | 0 | ||||
Boolean | newProperty1 | true | #//test//newProperty1# | #test.newProperty1# | false |