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

 

SEARCHSTATE.FROMSTRING

Provides the ability for a searchstate object to be initialized from its string representation.

Syntax

Parameters

NAME (required)
Input and output parameter. As input, name of the output object to be reinitialized with the string passed in the VALUE argument.

VALUE (required)
Input parameter. The string value to be used to initialize the searchstate object. The string must have been previously created by using a SEARCHSTATE.TOSTRING tag.

Error Numbers

The possible values of errno include:

Value
Description
-10004
A required parameter is missing.
-13050
General error.

Example

This code uses the variable searchstring generated from the tag SEARCHSTATE.TOSTRING and passed on the URL to this page to set a new searchstate "newSS" from the string representation. 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 a different attribute of the returned assets:

See Also

SEARCHSTATE.CREATE
SEARCHSTATE.ADDSIMPLESTANDARDCONSTRAINT
SEARCHSTATE.TOSTRING

  Home > Contents > Index >

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