The preceding steps described how to configure the server side Store.Mobile.DCS-CSR module of Assisted Selling. It is important that Assisted Selling’s iOS client is configured and built through Xcode so that the configuration matches the server side setup.
To get started, open the Agent
project located in the directory where you unzipped the files, at:
<home>/MobileCommerce
/Agent/Agent.xcodeproj
Configuration
To get Assisted Selling up and running in your environment, configure the following Agent-Info.plist
entries:
ATG_REST_SERVER_HOST
is the hostname of the server running the Store.Mobile.DCS-CSR server module that you wish to connect toATG_REST_SERVER_PORT
is the port number of that server
Additionally, for a release build intended for production ATG_USE_HTTPS
should be set to “YES” in order to enable SSL. This is strongly recommended and requires additional supporting configuration within your infrastructure to fully enable SSL.
Use this method of configuration when distributing an app, since the values of the Agent-Info.plist
are used by default until they are manually overridden in the settings bundle.
Settings Bundle
The iOS client includes a settings bundle located <home>/MobileCommerce/Agent/Agent/Settings.bundle
, where <home>
is the directory where you extracted the distribution. This bundle manages server settings, such as ports, host, and Site ID, from the Settings app. This bundle is included in Assisted Selling for demonstration purposes. Once Assisted Selling is installed on the iOS device, touch Assisted Selling in Settings and configure the Host and Port server settings to point to your dedicated server.
Use the Settings bundle for configuration when demonstrating the application since you can quickly change server settings without rebuilding the app and reinstalling. You may want to remove the settings bundle when releasing an app and use the values defined in Agent-Info.plist
.