template_addBinder

Adds a fully configured workspace or folder to the workspace hierarchy.

Syntax

public long template_addBinder( String accessToken, long parentId, long binderConfigId, String title );

Description

The template_addBinder operation adds a fully configured workspace or folder to the workspace hierarchy.

Parameters and Return Value

accessToken

Either the security token passed to your application by Vibe as part of implementing a remote application, or the null value.

parentId

The identifier of the workspace or folder that is to contain the new binder.

binderConfigId

The identifier that maps to the default configuration for the folder you want to create.

You can use the template_getTemplates information to get a configuration identifier from a binder that has a configuration you want for your new binder. Or, you can get a binder configuration identifier from the Vibe user interface. See Section 5.6.2, Adding Folders and the Binder Configuration Identifier, for information about getting a configuration identifier from the user interface.

title

A string containing the title of the new binder.

return_value

The binder identifier of the newly created workspace or folder.

See Also