Delete configuration item from database

Build 1501 on 14/Nov/2017  This topic last edited on: 5/Aug/2014, at 15:05

Important: inappropriate deleting can put at stake the production! Have a last good backup file ready!

You can delete a GN4 configuration item from database. Do it only if you are absolutely sure that the items is not used, typically to clean the database after experimenting with duplicated item variants etc.

Apply the deleting method, described in the following text, to the configuration files (xxx_TabItems, xxx_Config, ServerConfig etc), workflows etc.

To delete a configuration item from the database

<cmd4path>\cmd4 config -in "" -name <itemname> -srvurl http://<servername>/GN4/adminsrv.asmx -username <username> -password <password>

Notes

Replace <cmd4path> with the path of your GN4 application folder.

Replace <itemname> with the name of the item (without .xml extension).

Replace <filepath> with the full path to the file to be imported or exported, including file extension.

Replace <servername> with the real name of your GN4 server.

Replace <username> with the name of a GN4 user who has administrative permissions.

Replace <password> with the password of the <username> GN4 user.

Replace <fullpath> with the drive letter and the path to the file, including extension.

For a full list of command options, see cmd4 config.

See also

Identifying the right import/export method