Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IUrlGenerationOption

Defines how the url of new instance of a workspace type is generated. If mode is set to AutoIncrement, pattern and key may not be null.

Hierarchy

  • IUrlGenerationOption

Properties

key

key: string

Defines the key used for incrementing a number counter used for an URL for a new site collection. Can be shared between multiple workspace types.

Most not be null if mode is set to AutoIncrement.

mode

Defines the mode, how URLs for new site collections will be generated

pattern

pattern: string

The pattern that is used for an URL when a new site collection is created. Needs to include placeholders for the counter, which can either be "#" or "0". Placeholders will be replaced by the auto incrementing counter identified by the key

Examples:

"SiteType_###"
"SiteType_000"
"Project_#_New"
...

Most not be null if mode is set to AutoIncrement.