IDOL Server 12.12

# StoreState

Set `StoreState` to `True` to create a state token that lists the documents returned from the query. The ID of the token returns with the results. You can use the token in place of individual document IDs in subsequent actions.

The state token is an array of document IDs, listed in the same order as in the result set. It has a random alphanumeric name (for example, `DXPV8M92YJJ5-6`) with a suffix that indicates the total number of documents specified in the token.

To use document references rather than document IDs in the state token, you can set StoredStateField to the name of the field that contains the references.

If you are using a Distributed Action Handler (DAH), you can set StoredStateTokenLifetime to the time for which you want to keep the stored state token.

Actions: | Query Suggest SuggestOnText
Type: | Boolean
Default: | False
Example: | `StoreState=True`
See Also: | StateDontMatchID StateMatchID StoredStateField

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.12 | Last updated June 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Server 12.12

Topic Title: StoreState