Home > Contents > Index >
ASSET.ISEMPTY
Determines whether a field in an asset is empty.
Syntax
<ASSET.ISEMPTY NAME="name" FIELD="field name" OUTPUT="variable name" />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.Error Numbers
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:
<ASSET.ISEMPTY NAME="anAsset" FIELD="urlpicture" OUTPUT="hasnodata"/> <IF COND="Variables.hasnodata=false" > <THEN> <ASSET.GET NAME="anAsset" FIELD="mimetype" OUTPUT="asset:mimetype"/> Picture: <RENDER.SATELLITEBLOB ASSET="anAsset" FIELD="urlpicture" BLOBHEADER="Variables.asset:mimetype" SERVICE="IMG SRC" ARGS_hspace="5" ARGS_vspace="5" /> </THEN> </IF>
ASSET.GET
ASSET.LOAD
ASSET.SCATTER
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.