Font size:
Setting-Get
Description
Queries info about the specified setting object.
Parameters
| Attribute | Description | Required |
|---|---|---|
| depot | The project to update | Yes |
| resultproperty | Property to set with success/fail value | Yes |
| comment | Text describing purpose of update | Yes |
| maprefuri | The mapref-uri of the object in Workbench. | Yes |
| id | 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"
field="value"
comment="nocomment"
resultproperty="setting.value"/>
<echo>Setting value is: ${setting.value}</echo>


