The getViewStateId () method gets the current search object viewStateId property. The viewStateId property is used by the Splunk view state subsystem to maintain per-view preferences.
viewStateID = getViewStateId()
|
String |
Current search object viewStateId . |
var context = this.getContext();var search = context.get("search");
var id = search.getViewStateId();
alert('vsid = ' + escape(id));