Set-TopicMap

Top  Previous  Next

Summary

Set-TopicMap [-TopicMapAddress] <Uri> [-Schema <Uri>] [-Labels <String[]>] [-WebLabel <String>] -RemoveOldLabels

Description

Updates the meta-data for an existing topic map. This command requires that the user has the Write permission  on the topic map.

 

Parameters

TopicMapAddress <Uri>
The web address of the topic map to be updated.
Schema <Uri>
The web address of the schema to use for the topic map. If omitted, the schema assigned to the topic map remains unchanged.
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.
RemoveOldLabels
If this switch is present on the command line, then the list of labels specified by the Labels parameter will become the only labels assigned to the topic map. Otherwise the Labels parameter specifies a list of labels to add to the topic map, overwriting existing labels only if they are for the same language as one of the new labels.
WebLabel <String>
The web label to assign to the topic map. The value specified must not be assigned as the web label of any other topic map managed by the Web3 service. If omitted, the web label currently assigned to the topic map is not modified.

 

Returns

This command has no return value