Override the GUI setup from the URL
By default when the GUI is loaded, the session state from the last time the GUI was used is reloaded (from the GUI - UISetup - Get API call).
As an alternative, the saved state can be piecewise overridden with the following URL parameters:
- query: Pass a URL encoded JSON query object with the query to be executed. "qt" is mandatory, the others are optional (and will be taken from the default settings if not specified), except:
- userSettings: If this parameter is present in the URL string then non-specified fields are taken from the saved query instead.
- communityIds: A list of "_id" fields for the communities to query over (comma-separated; no spaces; eg can be obtained from the Social - Person - Get API call; note that "4c927585d591d31d7b37097a" is hardwired as the system community).
- widgetIds: A list of the "_id" fields for the widgets to display (up to 4 can be specified, comma-separated, no spaces; eg can be obtained from the Social - GUI - Modules - Get API call).
- Note the following widget ids are typically hardwired:
- Doc Browser: "4e4bcd7addda4e72000eeb76"
- Entity Significance: "4e4bf8adbce84e723f3b297d"
- Sentiment Widget: "4e4bfa4cbce84e724b3b297d"
- Event Graph: "4e4bf9ecbce84e72483b297d"
- Timeline: "4e4bf8f5bce84e72423b297d"
- Event TImeline: "4e4bfa90bce84e724e3b297d"
- Query Metrics: "4e4bf986bce84e72463b297d"
- Map Widget: "4e4bf986bce84e72453b297d"
- Note the following widget ids are typically hardwired:
Example URLs for custom setups
http://infinite.ikanow.com/Index.html?query={%22qt%22:[{%22ftext%22:%22obama%22}]}&communityIds=4c927585d591d31d7b37097a&widgetIds=4e4bcd7addda4e72000eeb76 http://SERVER_IP_ADDRESS/Index.html?query={%22qt%22:[{%22ftext%22:%22obama%22}]}&widgetIds=4e4bcd7addda4e72000eeb76,4e4bf8adbce84e723f3b297d http://SERVER_IP_ADDRESS?query={%22qt%22:[{%22ftext%22:%22obama%22}]}&communityIds=506afc85e4b01d98fcf9bf5f,4c927585d591d31d7b37097a http://infinite.ikanow.com/Index.html?query={"qt":[{"ftext":"obama"}]}
There is currently one other URL parameter supported by the Infinit.e GUI: "redirect": if this is used the following successful login (or directly if already logged in) then the browser tab is redirected to the value specified by the URL parameter. This can be useful for single sign-on applications.