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. ASEARCHRESULTS
statement is nested within a pair ofPROPERTY
tags and typically follows theSEARCHFORM
statement for the property.If the
INCLUDE
parameter is set to"FALSE"
or there is noSEARCHRESULTS
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 theTile.xml
element 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
EDIT
orDETAILS
.
- When you set
LINKTYPE
toEDIT
, the value returned on the Search Results form is a link to the Edit form for the asset. When you setLINKTYPE
toDETAILS
, 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, 2018, Oracle and/or its affiliates. All rights reserved.