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. See Starting the wsadmin client for information.
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")
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.