Home > Contents > Index >
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   Index 



Builds an empty searchstate object.



NAME (required)
Input and output parameter. As input, name of the searchstate object to create on output.

OP (optional)
Input parameter. Searchstate type, either and or or. The default is and.


This code creates an empty SEARCHSTATE with a default type of and. Two constraints ss1 and ss2 are then added to this searchstate. Any assets with matching values for both constraint ss1 and ss2 will be returned. If no assets match both constraints simultaneously nothing is returned This code then sets this SEARCHSTATE into an ASSETSET.SETSEARCHEDASSETS tag to constrain the ASSETSET to be used when searching with other assetset tags. The last tag uses this constrained assetset to search for matching assets and fetch a list of values for one of the constrained attributes for the returned assets:

This code creates a SEARCHSTATE with two clauses that are joined by an or operation. Assets that match either Germicidal Lamps or Watt% are returned.

See Also


  Home > Contents > Index >

Oracle XML Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.