Home > Contents > Index >
AssetMaker   |    Cart Tags   |    Errors   |    Miscellany   |    Index

 

SEARCHRESULTS

Determines which fields (properties) are displayed on the Search Results form after a search is run. A SEARCHRESULTS statement is nested within a pair of PROPERTY tags and typically follows the SEARCHFORM statement for the property.

If the INCLUDE parameter is set to "FALSE" or there is no SEARCHRESULTS statement at all for a property, the value for the field is not displayed on the Search Results form.

AssetMaker uses the information from the SEARCHRESULTS statements in an asset descriptor file to create the Tile.xml element for this asset type. For information about the elements that AssetMaker creates, see the AssetMaker section in the Developer's Guide.

Syntax

Parameters

INCLUDE (optional)
Whether to include a value for the field (property) on the Search Results form.

LINKTYPE (optional)
Whether to present the information returned for the field as a link to another CS-Direct form. Valid settings are either EDIT or DETAILS.

When you set LINKTYPE to EDIT, the value returned on the Search Results form is a link to the Edit form for the asset. When you set LINKTYPE to DETAILS, the value returned on the Search Results form is a link to the Inspect form for the asset. When you do not include LINKTYPE, the data is with no link.

Example

This code fragment creates a property whose field is displayed on the Search Results form as a link to the Edit form:

  Home > Contents > Index >

FatWire Miscellaneous Reference
Copyright 2005 by FatWire Software
All rights reserved.