Template View
This desktop-only view allows Presto developers to create custom views for specific mashable information sources or mashups.
Note: | This view is a beta feature. Presto developers can also create custom views that plug into the Presto View Gallery so that they can be used with many mashables or mashups. |
Custom views and templates combine HTML code with template syntax to map result fields to the appropriate locations within the HTML markup. This uses some aspects of the jQuery templating syntax. You can loop through repeating structures, handle conditional logic to generate appropriate HTML, display results that contain HTML markup and merge result data to produce the custom view.
Note: | Custom views created with the Template view have two limitations: Custom views are not supported for mobile devices. The view can only be shown in desktop browsers. You cannot define topics or events that can be used to wire apps together in workspaces. |
Users should be familiar with HTML and optionally CSS and JavaScript to use the Template view to create a custom view for an artifact. See the following sections for instructions and examples: