Gets the default value of the given Smartlet Property.
Syntax
Smartsite SXML | Copy Code |
---|---|
any smartlet.getdefault(string propertyName) any smartlet.getdefault(string propertyName, boolean unsafeValue) |
Parameters
Name | Data Type | Description |
---|---|---|
propertyName | String | Name of the property. |
unsafeValue | Boolean |
If set totruethe unsafe value is returned to the caller. This is potentially dangerous because of code injection attacks. |
Return Value
Data Type | Description |
---|---|
Any | Object |