Setting up file servers and logical folders from a command line
Adding, updating, deleting, activating or deactivating a file server
Use this command line syntax as string, for example:
Configmanager.exe -U:FS -action:FS
-configuration:DEV -mode:edit -servername:TESTIDMSERVER2 -servertype:I
-urlorpath:https://nlbawidmmdemo01.infor.com:9543/ca/
-addlpropsasjson:"[{"key":"authentication_mode",
"value":6, "readonly":2},{"key":"use_tenant", "value":"true",
"readonly":1},{"key":"use_single_idm_user_as_default", "value":"true",
"readonly":1},{"key":"provisioned", "value":1, "readonly":1},{"key":"workstationlogin",
"value":"xxxxxxxxxxx", "readonly":1},{"key":"map_entity_with_logial_folder",
"value":"true", "readonly":1},{"key":"use_auth_service_name", "value":"true",
"readonly":1},{"key":"auth_service_name", "value":"TEST_IDM_SERVER",
"readonly":1}]"
where:
-actionis where the command intended for. Where, FS is for File server.-configurationis the configuration name.-modeis an action that is specified as new, edit, activate, or deactivate.-servernameis the name of the file server.-servertypeis the type of server, where:- I is IDM server type
- S is UNC server type
- 3 is S3 server type
- F is FTP server type
- T is SFTP server type
- W is Mongoose web service
Note: The-servertypeis required for adding or updating a file server.-domainorhostnameis an optional flag that is used to define the domain name or host name of the server.-urlorpathis an optional flag that is used to define the URL or path of the server depending upon the server type.-remoteserverordocidis an optional flag that is used to define the remote server name or the IDM Document ID depending on the server type.-useridis an optional flag that is used to define the user name or id for the server.-passwordis an optional flag used to set the server password.-addlpropsasjsonis an optional flag that is specified as other properties to store.
-addlpropsasjson is a string to pass as file server additional properties. These
properties are different depending on server type.Adding, updating, or deleting a file server logical folder
Use this command line syntax as a string, for example:
Configmanager.exe -U:FS -action:LF -configuration:DEV -mode:new
-servername:TESTIDMSERVER2 -logicalfoldername:TESTIDMLOGICALFOLDER
-foldertemplate:/private/ -folderaccessdepth:5
-attacheddocumenttype:MG_TestIDMServer
where:
-actionis where the command is intended for. Where, LF is for logical folder.-modeis an action that is specified as new or edit.-configurationis the configuration name.-servernameis the name of the file server.-logicalfoldernameis the name of the logical folder.-foldertemplateis an optional flag used to define the template path with a default value of \.-folderaccessdepthis an optional flag used to define the access depth of the folder with a default value of 10.-attacheddocumenttypeis an optional flag that is used to define the IDM document type.
Authorizing logical folder for a group using CLI
Use this command line syntax as a string, for example:
Configmanager.exe -U:FS -action:AUTH -configuration:DEV -mode:new
-logicalfoldername:TESTIDMLOGICALFOLDER -groupname:my group -read:true -write:true
-delete:false
where:
-action isAUTH or AUTHORIZE.-modeis an optional flag that is used to define an action that is specified as new or edit.-configurationis the configuration name.-logicalfoldernameis the name of the logical folder.-groupnameis the name of the group.-readis an optional flag that is used to set a read permission and is specified as true or false.-writeis an optional flag that is used to set a write permission and is specified as true or false.-deleteis an optional flag that is used to set a delete permission and is specified as true or false.