Home > Contents > Index > 
RENDER.LOGDEP
Designates asset dependencies during the approval process and compositional dependencies for cache management.
Syntax
<RENDER.LOGDEP [ASSET="asset name"] [cid="asset id"] [c="asset type"] [DEPTYPE="exact|exists|greater|none"]/>Parameters
ASSET (optional)- Name of the asset. Either
 ASSETorCIDandCmust be set.
cid (optional)- ID of the asset. When using the
 CIDparameter you must also specify theCparameter. EitherASSETorCIDandCmust be set.
c (optional)- Type of asset. This parameter must be used in conjunction with the
 CIDparameter. EitherASSETorCIDandCmust be set.
DEPTYPE (optional)- Legal values are "
 exact", "exists", "greater", or "none". This attribute specifies whether approval dependency is "exact", "exists" or "greater".
- Exact specifies a version dependency. The version of the dependent asset must be equal to the version of the asset when it was approved.
 - Exists specifies that any version of the asset satisfies the dependency condition.
 - Greater specifies the asset must be at a or above a certain version.
 - None specifies no approval dependency is needed. A compositional dependency will be logged ensuring that the cache will be updated when the dependent asset is changed.
 Description
This tag keeps track of asset dependencies during publishing. When the
RENDER.LOGDEPtag is encountered during an export publishing operation it marks assets as dependent on the asset being approved. Use theRENDER.LOGDEPtag when methods other thanASSET.LOADare employed to insert data into templates.When a template using this tag is encountered during the rendering phase of a preview or live operation, the CacheManager is notified to track any changes.
errno
The possible values of
errnoinclude:
 Value Description -10004 A required parameter is missing. -10005 The requested object is not in the object pool (is not loaded into memory). -10006 The object ID is not valid.Example
<ASSET.LIST LIST="newsArticles" FIELD="category" VALUE="n"/> <RENDER.FILTER LIST="newsArticles" LISTVARNAME="filteredlist" LISTIDCOL="id"/> <LOOP LIST="filteredlist" <RENDER.LOGDEP c="Article" cid="FILTEREDLISTID"/> </LOOP>
Home > Contents > Index > ![]()
FatWire XML Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.