Home > Contents > Index >
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   Index 

 

ASSET.ISEMPTY

Determines whether a field in an asset is empty.

Syntax

Parameters

NAME (required)
Name of a previously loaded asset. See ASSET.LOAD.

FIELD (required)
Name of the field in the object.

OUTPUT (required)
Name of output variable.

Description

The result of this tag (held in the output variable) is either the string "true" or the string "false." If the tag results in an error, no output variable is created and errno is set.

errno

The possible values of errno include:

Value
Description
-10004
Missing required attribute.
-10005
No object by specified name.

Example

This code checks if there is something in the urlpicture field and if so, displays it: