Editing server files without opening the Infor Smart Office Client
You might inadvertently configure settings in such a way that Infor Smart Office cannot be started. For example, either of these changes to Mango.Core would cause this situation:
- Setting the SelectedProfile to a profile that does not exist and restrict the user from changing the value.
- Modifying the AllowedApplications to be to restricted in such a way that Infor Smart Office cannot start.
In this situation, you can use SettingsTool.exe, which is a command line tool that you can use to export, troubleshoot, repair, and import settings files. This tool can also be used to modify predefined widget files and links. Normally these files are edited through the Settings Editor, Predefined Widgets editor and Link Manager in the Infor Smart Office client.
You can also use the MangoAdmin stand-alone tool to connect and export or import any configuration found in the database. You can select system files with a filter on profile.xml to export the profile, or settings to export the default settings. Therefore, you have a zip file that you can unzip and change the XML files within before zipping and importing them again. For more information, see Default system profile is missing and Using the MangoAdmin Tool.
The SettingsTool.exe is found in the AdditionalFiles folder in the Infor Smart Office installation zip file.
SettingsTool Command Syntax
SettingsTool <–export/-import> [-exportRoles/-importRoles] <-file=<filename>>
<-server=<serverurl>> <-user=<connectuser>> <-password=<password>>
where
import
or export
are the operation to perform. Either import
or export
must be specified.
exportRoles
or importRoles
are optional. If you specify a value, the role values will be included when you export or import.
–exportRoles
is a valid parameter only if –export
is specified
-importRoles
is a valid parameter only if –import
is specified.
<filename>
is the file you want to export or import.
<serverurl>
is the URL to the Grid where Smart Office is installed.
–importRoles
because if the exported file does not include any role values (for example, if it has been
exported without role values), all role values that were in the original settings file will
be removed. If your settings file contains only a few configured role values, it will be easiest to remove all role values and redo role configuration later.