New-TopicMap

Top  Previous  Next

Summary

New-TopicMap [-ServiceUrl] <Uri> [-Schema] <Uri> [-Labels <String[]>] [-WebLabel <String>]

Description

Creates a new topic map in the topic map store. This command requires that the user has the Create permission on the topic map store.

 

Parameters

ServiceUrl <Uri>
The web address of the Web3 service where the topic map is to be created.
Schema <Uri>
The web address of the schema to use for the topic map.
Labels <String[]>
A list of the labels (names) for the topic map. A topic map can have one label in each of the supported languages. To create a label in a specific language, the value on the command-line for the label should be in the format 'labelstring'@languagecode. Powershell requires that labels in this form should be entirely wrapped in double-quoutes. e.g. -Labels "Topic Map"@en","'Emnekarte'@no". It is also possible to specify a label with no language code, in which case the current operating system language will be used as the label's language code.
WebLabel <String>
The web label to assign to the new topic map. The value specified must not be assigned as the web label of any other topic map managed by the Web3 service.

 

Returns

This command returns the representation object for the newly created topic map with the following properties:

WebLabel
The short web label string for the topic map
Labels
The list of labels assigned to the topic map
WebAddress
The web address of the topic map
SchemaAddress
The URI of the schema that the topic map uses
ReifierAddress
The URI of the topic that reifies the topic map