Home > Contents > Index >
AssetMaker | Cart Tags | Errors | Miscellany | Index
SEARCHRESULTS
Determines which fields (properties) are displayed on the
Search Resultsform after a search is run. ASEARCHRESULTSstatement is nested within a pair ofPROPERTYtags and typically follows theSEARCHFORMstatement for the property.If the
INCLUDEparameter is set to"FALSE"or there is noSEARCHRESULTSstatement at all for a property, the value for the field is not displayed on the Search Results form.AssetMaker uses the information from the
SEARCHRESULTSstatements in an asset descriptor file to create theTile.xmlelement for this asset type. For information about the elements that AssetMaker creates, see the AssetMaker section in the Developer's Guide.Syntax
<SEARCHRESULT
INCLUDE="TRUE" LINKTYPE="EDIT or DETAILS"/>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 Sites form. Valid settings are either
EDITorDETAILS.
- When you set
LINKTYPEtoEDIT, the value returned on the Search Results form is a link to the Edit form for the asset. When you setLINKTYPEtoDETAILS, 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:
<PROPERTY NAME="title" DESCRIPTION="Title">
<STORAGE TYPE="VARCHAR" LENGTH="255"/> <INPUTFORM TYPE="TEXT" WIDTH="48" MAXLENGTH="44" REQUIRED="YES" DEFAULT="Enter the title here"/> <SEARCHFORM TYPE="TEXT" DESCRIPTION="Title contains" WIDTH="48" MAXLENGTH="44"/> <SEARCHRESULTS INCLUDE="TRUE" LINKTYPE="EDIT"/></PROPERTY>
Home > Contents > Index > ![]()
Oracle Miscellaneous Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.