Font size:
Setting-Info
Description
Looks up info from a setting-get query.
Parameters
| Attribute | Description | Required |
|---|---|---|
| depot | The project to update | Yes |
| resultproperty | Property to set with success/fail value. If the decrypt attribute is not true but the value is encrypted then no result property is set. | Yes |
| field | The field value to retrieve. Field names are: name, maprefuri,description, type, encrypted, value. The encrypted field value will either be true or false. | Yes |
| decrypt | If set true, Workbench is queried for the decrypted value. | No |
| refid | The reference id name. | Yes |
Examples
Queries about a setting object and then use setting-info to lookup from the value field.
<setting-get
serverUrl="http://localhost:8080/itnav/"
id="setting.id"
depot="${depot.name}"
resultproperty="empty"
comment="nocomment"
maprefuri="${setting.mapref}"/>
<!-- setting-info task can retrieve the field values from the metadata.
field names are:
name, maprefuri, description, type, encrypted, value
-->
<echo>Now Calling setting-info:</echo>
<setting-info
serverUrl="http://localhost:8080/itnav"
refid="setting.id"
decrypt="true"
field="value"
comment="nocomment"
resultproperty="setting.value"/>
<echo>Setting value decrypted is: ${setting.value}</echo>


