Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
ics:fileargument
Argument to the
ics:indexadd
tag.Syntax
<ics:fileargument name="file name" value="value"/>Parameters
name (required)
- File name.
value (required)
- Full path to the file to be added.
Description
The
ics:fileargument
tag specifies a file to be added to a search index using theics:indexadd
tag. This tag is an additional argument for theics:indexadd
tag.errno
None.
Example
The following example adds a record to a search index containing the upload file
:
c:/temp/body.txt<ics:clearerrno/> <ics:indexadd index="c:/searchidx" entryname="A111112" entrydetail="Ohio towns" searchengine="AV"> <ics:textargument name="headline" value="Places I have visited in Ohio"/> <ics:fileargument name="body" value="c:/temp/body.txt"/> <ics:dateargument name="articledate" value="1999-01-29"/> </ics:indexadd> <ics:if condition=<%ics.GetErrno() != 0%>í> <ics:then> Report error </ics:then> </ics:if>See Also
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.