4Suite™ API Documentation

# ► Module Ft.Server.Client.Commands.Create

This command will create a resource in a 4Suite repository. It requires a subcommand specifying which type of resource to create. See the help message for one of the subcommands for specific usage info.

Functions: Register |  |  |  | Fields: g_subCommands

## Modules

Alias | This command creates a new Alias resource for an existing resource in a 4Suite repository. If necessary, you will be prompted first for credentials and access info to connect to the repository. Prior to 4Suite 1.0b1, this command was known as '4ss add alias'.
Container | This command creates a new Container resource in a 4Suite repository. If necessary, you will be prompted first for credentials and access info to connect to the repository.
Document | This command creates a new XML Document resource in a 4Suite repository. An XML Document resource is used to store XML-based data in the repository. If you are storing non-XML data, see the '4ss create rawfile' command. If necessary, you will be prompted first for credentials and access info to connect to the repository.
Group | This command creates a new Group resource in a 4Suite repository. If necessary, you will be prompted first for credentials and access info to connect to the repository.
RawFile | This command creates a new Raw File resource in a 4Suite repository. A Raw File is used to store non-XML based data in the repository. If you are storing XML data, please see the '4ss create document' command. If necessary, you will be prompted first for credentials and access info to connect to the repository.
Server | This command creates a new Server definiiton resource in a 4Suite repository. If necessary, you will be prompted first for credentials and access info to connect to the repository.
UriReference | This command creates a new URI Reference resource in a 4Suite repository. A URI Reference resource is like a Raw File but its content is always obtained on demand by dereferencing the stored URI. The first dereference operation occurs when this command is run, so the resource identified by the URI must be retrievable at that time. Resource metadata (size, etc.) from the last dereference operation is stored in the repository. Media type information is not obtained automatically; if a media type is not given on the command line, it will default to text/plain. If necessary, you will be prompted first for credentials and access info to connect to the repository.
User | This command creates a new User resource in the 4Suite repository. It will first prompt for a password for the new User. Then it will attempt to connect to the repository to create the user, prompting first for credentials and access info if necessary. The user accessing the repository must have sufficient permissions in order to create the new User, and the new User must not already exist.

## Functions

Register()

## Fields

g_subCommands = [<module 'Ft.Server.Client.Commands.Create.Alias'...6-2.4/Ft/Server/Client/Commands/Create/Alias.py'>, <module 'Ft.Server.Client.Commands.Create.Contai...4/Ft/Server/Client/Commands/Create/Container.py'>, <module 'Ft.Server.Client.Commands.Create.Docume....4/Ft/Server/Client/Commands/Create/Document.py'>, <module 'Ft.Server.Client.Commands.Create.Group'...6-2.4/Ft/Server/Client/Commands/Create/Group.py'>, <module 'Ft.Server.Client.Commands.Create.RawFil...2.4/Ft/Server/Client/Commands/Create/RawFile.py'>, <module 'Ft.Server.Client.Commands.Create.UriRef...t/Server/Client/Commands/Create/UriReference.py'>, <module 'Ft.Server.Client.Commands.Create.User' ...86-2.4/Ft/Server/Client/Commands/Create/User.py'>, <module 'Ft.Server.Client.Commands.Create.Server...-2.4/Ft/Server/Client/Commands/Create/Server.py'>]