Skip to main content
Skip table of contents

gc, config, globalconfiguration

This command manages some global configuration properties, most of which relate to the creation of personal folders in the discontinued SuperWEB1 product. The personal folder settings do not apply to SuperWEB2.

gc, config and globalconfiguration are the same command and can be used interchangeably.

Personal Folders in SuperWEB1

You can use the gc command to configure the automatic creation of personal folders for users of SuperWEB1. If you turn this feature on then a personal folder will be created automatically when the user logs in. The user can then save TXDs and recodes.

Files saved to the personal folder will only be available to the user who saved the file and the administrator. They will not be available to other SuperWEB1 users.

In addition to turning automatic creation of folders on or off, you can also configure the naming convention that SuperADMIN will use when it creates these folders.


gc
Display the current SuperADMIN configuration settings.
gc AutoFolderSection AutoFolderCreation value {"true"|"false"}

Sets the automatic folder creation policy. If this is set to true then a personal folder will be created in SuperADMIN when a user logs into SuperWEB1.

 The quotation marks around true or false are required.

If it you do not want to have automatic folder creation enabled for all users then you can manually create personal folders for specific users with the cat createpersonalfolder command. However, you must turn on the autofoldercreation setting first before using cat to create the personal folder. You can turn autofoldercreation off again after manually creating the folder if you wish.

For example, to create a personal folder for user2 and user3:

TEXT
> gc autofoldersection autofoldercreation value "true"
> cat createpersonalfolder user2
Added folder 'user2' to folder 'Users'
> cat createpersonalfolder user3
Added folder 'user3' to folder 'Users'
> gc autofoldersection autofoldercreation value "false"
[ Folder : Users (id:Users) (Multilingual:false) (maxfiles:0) (files:0)]
    [ Folder : user2's Folder (id:user2) (Multilingual:false) (maxfiles:-1) (files:0)]
    [ Folder : user3's Folder (id:user3) (Multilingual:false) (maxfiles:-1) (files:0)]
gc AutoFolderSection AutoParentFolder value <folder_name>

Sets the value of the parent folder property. The default is Users.

  • The specified folder must exist in the catalogue.
  • All users must have read and write permissions for this folder.
  • You are recommended to use the cat command to set the maxfiles parameter on the parent folder to 0. This ensures that users will not be able to save files to that folder and will only be able to save files to their personal folder.
gc AutoFolderSection AutoFolderId value <folder_id>

Sets the automatic folder ID to use when creating new personal folders. The default value is [userid] (i.e. the name of the personal folder will match the ID of the user who created it).

Every folder must have a unique ID. You can add additional text to the folder name, but you must still include [userid] in the folder name so that each folder is unique.

For example, the following command sets the automatic id of the personal folder to Sales_tables_XX (where XX is the ID of the user who created the folder):

TEXT
gc AutoFolderSection AutoFolderId Sales_tables_[userid]
gc AutoFolderSection AutoFolderName value <folder_name>

Sets the display name to use when creating new personal folders. The default value is [userid]'s Folder.

Display names do not need to be unique, but you can still [userid] in the folder name if you wish, and this will be replaced by the user's ID when the folder is created.

gc Search indexDirectory value <folder_name>

Sets the directory for the search index. By default the search index is created in a directory called meta_search_index in the SuperADMIN server directory (C:\ProgramData\STR\SuperADMIN\server).

You can change the directory by specifying a new name.

See Update the Search Index for more details.

gc Search maxNumberSearchBooleanClauses value <value> 

Sets the maximum number of search boolean clauses. The default is 5000.

gc RSE numberDecimalPlaces value <value>

Set the number of decimal places in Relative Standard Error output for:

  • SuperWEB2 table RSE value display
  • SuperWEB2 Save As format including SDMX generic data
  • Save As Queue Job in Job Queue Manager
  • SDMX Web Services generic data when RSE value is available
gc RSE concealmentString value <value>
Set the concealment string for RSE.

If a display name or ID includes non alphanumeric characters (e.g. a space) then you must enclose it in quote marks. You must also enclose a display name or ID in quotes if it starts with a numeric character.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.