Space JavaScript API Demo

This demo allows for basic Space operations.

Select a space









Retrieved Space details:
Space ID: No space selected
Root Nav ID: No space selected  




Titles:

To update, add a new [locale,title] pair on a new line, or edit or remove an existing line

Descriptions:

To update, add a new [locale,description] pair on a new line, or edit or remove an existing line
Note: a description must also have a title in the same locale

Metadata:

Space Extension Note:
Use "{http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/extensions}com.ibm.space.extension_url" as key, value starts with endpoint protocol with format:
[endpoint://{com.ibm.bspace}bspaceBusinessVariableWidgetRootId]/[serverJS]#[spaceExtensionClassName]

URL to load Javascript will be constructed as follows:
  1. Endpoint id will be extracted between "endpoint://" and first forward slash, and will be used tocreate a context URL
  2. context URL will be prepended to server JS to get a full path where JS is located.
  3. If value does not start with endpoint://, server URL will be used directly to load JavaScript.
  4. spaceExtensionClassName is space extension implementation class name and is used to create extension object.
  5. Example: [{http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/extensions}com.ibm.space.extension_url,endpoint://{com.ibm.bspace}bspaceBusinessVariableWidgetRootId/com/ibm/bspace/widgets/bslm/spaceext/FabricSpaceExtension.js#FabricSpaceExtension]
  6. Example: [{http://www.ibm.com/xmlns/prod/lotus/mashups/v1.0/extensions}com.ibm.space.extension_url,http://localhost:8080/mum/demos/js/test/enabler/resources/testSpaceExtension/alertSpaceExtension.js#AlertSpaceExtension]


    To update, add a new [key,value] pair on a new line, or edit or remove an existing line