Managing Portal-Generated Data

Some portals may be capable of gathering and storing persistent data and content. This data can be accessed via the Portal administration interface using the Portal Data interface.

The Titania Delivery Portal Theme SDK has three mechanisms for storing persistent data.

  1. The UserData and SiteData key-based storage methods.
  2. The SiteData indexed data storage methods.
  3. The SiteData content creation and management methods.

Each of these three systems manages data in a different way.

Key-Based Data

The Key Stores tab allows you to view the key-based data stored via the UserData or SiteData APIs. The Select a User ID dropdown allows you to select a user ID whose data to view; the --site-- key displays the keys stored via SiteData. The keys for the selected user or site will be presented along the left; selecting one will display a JSON-formatted presentation of the data for that key on the right. Clicking the Download button allows you to download the data for that user or the site as a zip archive.

Indexed Data

The Indexed Data tab allows you interrogate the data stored using the indexed data methods on the SiteData interface. The Index field allow the selection of an index containing data, and the Search field allows a query used to select data from that index, using Elasticsearch query string syntax. The results are displayed below as a series of key-value pairs; longer values are truncated and can be viewed by clicking on the magnifying glass icon. The Download button will download the current search results.

Portal-Generated Files

Each Portal has a Project whose primary purpose is to hold the content generated from the SiteData API's putFile() and related methods. You can access this file using the View portal-generated files button in the Portal Data section. The contents of this portal can be viewed and managed the same as any other Project.