Home > Contents > Index >
INSITE.EDIT
Edits assets from the user interface.
Syntax
<INSITE.EDIT ASSETID="id of asset" ASSETFIELD="Attribute_name of asset's field" ASSETFIELDVALUE="incoming field value" ASSETTYPE="type of asset" [EWEBEDITPRO="true|false"] [WIDTH="pixels or percentage"] [HEIGHT="pixels"] [VARIABLE="variable name"] [SSVARIABLE="session variable name"] [PROPERTY="property name"] [LIST="list name"] [COLUMN="column name"] />Parameters
ASSETID (required)
- Id of the asset to be edited.
ASSETFIELD (required)
- Name of the field of the asset to be edited.
ASSETFIELDVALUE (required)
- Value of the incoming field.
ASSETTYPE (required)
- Type of asset to be edited.
EWEBEDITPRO (optional)
- Legal values are
true
orfalse
. The default value isfalse
.
WIDTH (optional)
- Width of the asset in percentage or pixels. The default value is
100%
.
HEIGHT (optional)
- Height of the asset in pixels only. The default value is
200
pixels. Please note that percentage values are unsupported.
VARIABLE (optional)
- You must use at least one of the following four parameters: VARIABLE, SSVARIABLE, PROPERTY, or LIST and COLUMN (LIST and COLUMN must be used together). Name of the Content Server variable that you want to stream to a page. For example, for a variable called foo, set the parameter equal to foo rather than to Variables.foo.
SSVARIABLE (optional)
- You must use at least one of the following four parameters: VARIABLE, SSVARIABLE, PROPERTY, or LIST and COLUMN (LIST and COLUMN must be used together). Name of the Content Server session variable that you want to stream to a page.
PROPERTY (optional)
- You must use at least one of the following four parameters: VARIABLE, SSVARIABLE, PROPERTY, or LIST and COLUMN (LIST and COLUMN must be used together). A Content Server property from the futuretense.ini property file.
LIST (optional)
- You must use at least one of the following four parameters: VARIABLE, SSVARIABLE, PROPERTY, or LIST and COLUMN (LIST and COLUMN must be used together). Name of the list.
COLUMN (optional)
- You must use at least one of the following four parameters: VARIABLE, SSVARIABLE, PROPERTY, or LIST and COLUMN (LIST and COLUMN must be used together). Name of the field in the list.
Description
This tag allows you to edit assets in the Content Server system. When editing standard assets (the ASSETFILEDID is the column name, for example), the Headline field is the description column for Article assets. When editing flex assets the attribute name should be preceded by the prefix
Attribute_
; for example, thebody
attribute would beAttribute_body
. For more information about editing assets, see the CS Developer's Guide.Example
<INSITE.EDIT ASSETID="Variables.cid" ASSETFIELD="Attribute_headline" ASSETFIELDVALUE="assetlist.SORT_headline" ASSETTYPE="AArticles" [EWEBEDITPRO="true"] [WIDTH="100%"] [HEIGHT="200"]/>
Home > Contents > Index > ![]()
FatWire XML Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.