B.68 URLEncodeTask

The URLEncode task will encode a given property for use within a a URL string. This value which is actually set will be encoded via the urlencode() function. Typically, you must do this for all parameter values within a URL.

Table B.74: Attributes

NameTypeDescriptionDefaultRequired
property String The name of the property to set.n/aYes
override Boolean If the property is already set, should we change it's value. Can be true or false falseNo
value String The value of the property.n/aNo, if refid is specified
refid String The id of a saved reference whose value will be the value of the property.n/aNo, if value is specified

B.68.1 Example

<urlencode name="file.location" value="C:\\wwwhome\\my reports\\report.xml" />