id | The ID for this pluggable library or pluggable view. This must match the name of the root folder that contains the resources for this view or library and must be a unique library name in this Presto Repository. Library IDs should be limited to ASCII letters, numbers and the dash(-) or underscore (_) characters.
| ||
name | The title to display in the Presto View Gallery for a pluggable view. Capitalization is unimportant in view titles as they display in a fully capitalized font. View titles should be short. Titles with more than 14 characters may be truncated with a trailing ellipsis (...). The complete title is shown as a tooltip. | ||
description | An optional, short description of the purpose of this pluggable library or pluggable view. For pluggable views, this displays as a tooltip in the View Gallery. | ||
type | Either view, for a pluggable view, or omit this property. See Example: Pluggable View Import Basics, Example: Pluggable View Import with Device Compatibility, Example: Pluggable View Import with View Gallery
Properties and Example: Pluggable View Import with Library Dependencies for examples. | ||
subtype | For pluggable views, the category in the View Gallery where this pluggable view should be listed. This can be the name of an existing category or a new category name. If you omit this property, pluggable views are listed in the Pluggable Views category in the View Gallery. See Example: Pluggable View Import with View Gallery
Properties for examples. | ||
thumbnailUrl | An optional URL to the image to display in the View Gallery for this pluggable view. This URL may be relative, pointing to an image in folders for this library, or an absolute URL.
If you omit this property, Presto will use the image, if any in the /thumbnail folder of the pluggable view. If no /thumbnail folder is present and you omit this property, a default image is used: See Example: Pluggable View Import with View Gallery
Properties for examples. | ||
helpUrl | A URL to an HTML page with user assistance information to help them configure a view using this pluggable view library. This help topic opens in a new window from the ? button in the Create View wizard. This can be a relative URL, within the folders of the pluggable view, or an absolute URL. See Example: Pluggable View Import Basics for examples. | ||
version | The version number to use for this pluggable library or pluggable view. If omitted, this defaults to 1. For more information on library versions, see Managing Updates and Library Versions. | ||
defaultVersion | Whether this version of the pluggable library or pluggable view is considered the default version. This defaults to true. Whether a view or library is the current default also determines whether existing views in mashables, mashups or apps use this version of the pluggable view or library. For more information on version control and updates to Presto artifacts, see Managing Updates and Library Versions. | ||
libPath | For all pluggable views or for pluggable libraries with local resources that you host in Presto, this property is calculated by Presto. If this is a pluggable library with resources that are hosted externally, this property is the base URL to prepend to all JavaScript and CSS resources for this library. See Example: Pluggable Library Import for an Externally Hosted
Library for an example. | ||
js | An optional, comma-separated list of the JavaScript resources to include in this pluggable view or pluggable library. For all pluggable views or for pluggable libraries with local resources that you host in Presto, this property is most commonly calculated by Presto based on the JavaScript files found in the /js folder of the pluggable view or library. If you want to exclude some files in this folder, you can use this property to list only those files that should be included in Presto. For pluggable libraries that are hosted externally, list the specific JavaScript files to include in this library relative to the URL in the libPath property. See Example: Pluggable Library Import for an Externally Hosted
Library for an example. | ||
css | An optional, comma-separated list of the CSS resources to include in this pluggable view or pluggable library. For all pluggable views or for pluggable libraries with local resources that you host in Presto, this property is most commonly calculated by Presto based on the CSS files found in the /css folder of the pluggable view or library. If you want to exclude some files in this folder, you can use this property to list only those files that should be included in Presto. For pluggable libraries that are hosted externally, list the specific CSS files to include in this library relative to the URL in the libPath property. See Example: Pluggable Library Import for an Externally Hosted
Library for an example. | ||
dependsOn | If this pluggable library or pluggable view uses bundled libraries or other pluggable libraries, list the IDs of those libraries separated by commas. This information allows Presto to ensure that all dependencies are loaded before loading this library.
See Example: Pluggable View Import with Library Dependencies for examples. | ||
loadConfirmation | A boolean expression containing one or more JavaScript namespaces or objects from this library that must exist at runtime to confirm that this library is completely loaded. For example: MyOrg && MyOrg.MyView This expression is not required but is highly recommended to ensure that libraries for pluggable views or custom apps are properly loaded before rendering. See Example: Basic Library Import Properties for an example. | ||
desktop | Whether this pluggable library or pluggable view is compatible with desktop devices. Defaults to true. Views created from this pluggable view inherit this device compatibility. This, in turn affects device compatibility for apps create from these views. See Example: Pluggable View Import with Device Compatibility for more information. | ||
mobile | Whether this pluggable library or pluggable view is compatible with mobile devices. Defaults to true. Views created from this pluggable view inherit this device compatibility. This, in turn affects device compatibility for apps create from these views. See Example: Pluggable View Import with Device Compatibility for more information. | ||
hidden | Whether this pluggable library or pluggable view should be hidden in the App Editor, and thus not available for use in custom apps. This defaults to false meaning the library will be visible in the App Editor. Change this to true to keep this pluggable view or library off the list of available, named libraries that users can add to custom apps. | ||
createdBy | An optional username for the user who should be registered as the owner of this pluggable view or pluggable library. If omitted, Presto uses the username you specify when you register and upload the pluggable view or library as the owner. |