Modify the configuration properties in the mobile-config.xml file
to control how users can interact with the Connections Mobile native
app.
Before you begin
You must use the IBM® WebSphere® Application
Server wsadmin client to check out the mobile-config.xml file.
For information about how to start the wsadmin command-line tool,
see the Starting the wsadmin client topic.
About this task
To edit Mobile configuration properties, complete the
following steps:
Procedure
- Start the wsadmin client.
- Start the Files Jython script interpreter:
- Use the following command
to access the Mobile configuration file: execfile("mobileAdmin.py")
Tip: If you are asked to select a server, select any server.
- Check out the mobile-config.xml file
by using the following command:
MobileConfigService.checkOutConfig("working_directory",
"cell_name")
where:
- working_directory is the temporary working
directory to which the XML and XSD configuration files are copied.
The files are kept in this working directory while you make changes
to them.
Note: AIX®, IBM i, and Linux only: The directory must
grant write permissions or the command will not run successfully.
- cell_name is the name of the WebSphere Application Server cell hosting
the IBM Connections application.
This argument is required. If you do not know the cell name, you can
determine it by typing the following command in the wsadmin command
processor:
print AdminControl.getCell()
For example:
MobileConfigService.checkOutConfig("/opt/my_temp_dir",
"CommServerNode01Cell")
- Create a backup copy of the file.
- Edit the file in a text editor.
- Save your changes and check the file in.
- Synchronize the nodes in your deployment.
- Restart the application server that hosts the Mobile application.
What to do next
You must check the configuration files back in after making
changes, and they must be checked in during the same wsadmin session
in which they were checked out.