ControlTier Inc. > Open.ControlTier
 
Font size:      

Setting-Get

Description

Queries info about the specified setting object.

Parameters

AttributeDescriptionRequired
depotThe project to updateYes
resultpropertyProperty to set with success/fail valueYes
commentText describing purpose of updateYes
maprefuriThe mapref-uri of the object in Workbench. Yes
idThe 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>