Home > Idoc Script Reference Guide > Core Content Server Variabl... > HasUrl
Checks if a file exists in the weblayout directory for the current content item.
Type and Usage
"Conditional Dynamic Variables"
"Content Items"
Output
Returns TRUE if a weblayout file exists.
Returns FALSE if no weblayout file exists.
Example
Checks for a web layout file:
<$if HasUrl$> <$include doc_url_field$> <$endif$>