Share via


Shell.Extension.js

 

Applies To: Windows Azure Pack

The base class that instantiates new extensions.

Widgets

None.

Enums

None

Properties

Name

Type

Description

extensions

Array

Extensions.

extensionIndex

Object

Extension Index.

Methods

Name

Description

Returns

Parameters

Shell.extension

Creates a new instance of a Shell extension. Returns the metadata object for the created extension.

Object

Metadata: A meta data object with the following properties:

name: Required. The name of the extension.

displayName: Required. Specifies the text to display in the left navigation bar.

getTypeDisplayName: Optional. Function that returns the string to be displayed in the Type column in the 'All View' Grid.

displayOrderHint: Optional. Priority hint to suggest the order in the navigation bar that extensions are displayed. Default Value: 9999.

loadOrderHint: Optional. Priority hint to suggest the order in which extensions are invoked to load their data (Exp.Data.js). Default Value: 9999.This priority hint allows data requests for fast-loading extensions to be done first. Thishelps enable the maximum number of extensions in the shortest amount of time.

iconUri: Optional. Icon URI to show in the left navigation bar.

iconShowCount: Optional. Specifies if the count of items should be shown in the left navigation bar.

navigationalViewModel: Optional.

navigationalViewModelPath: Optional.

viewModels: Optional.

Tabs: Optional.

gridView: Optional.

menuItems: Optional.

navigation: Optional.

initializePivots: Optional.

See Also

Windows Azure Pack Extension Shell Library Reference
Shell.Extensions.js