This chapter shows how to adjust the project configuration of the sample project.
The project configuration WebOffice_SampleProject.xml can be found on the DVD in WebOffice10.4-DVD\SampleProject\Project\.
Copy the project configuration WebOffice_SampleProject.xml from the DVD to your work directory of the WebOffice 10.4 SP2 application:
<Tomcat installation directory>\webapps\<WebOffice application>\WEB-INF\classes\configuration\projects.
Copy the folder SampleProjectPub from the DVD to your pub directory of the WebOffice 10.4 SP2 application:
<Tomcat installation directory>\webapps\<WebOffice application>\pub.

WebOffice application - working directory
Open the MXD SampleProject.mxd from your ServiceDocuments directory (e.g. <ArcGIS Server location>\directories\ServiceDocuments) and load the project configuration WebOffice_SampleProject.xml with WebOffice author.

WebOffice author - load the project configuration
Note: When opening the project configuration for the first time, you will get a warning regarding the matching of active data frame and the name of the map service. This occurs due to the fact that ArcGIS 10.4 for Server connections are not adapted so far. Therefore, ignore this message!
Next step is to adjust the ArcGIS 10.4 for Server Connections. Therefore, go to Extras > Map Service Connections in order to adapt the server names, potential subfolder names, the service user and password of the map services for your publisher account. Check the first shown map service connection and click Edit.

Change server map service connections
Then adapt the server name, the service user (publisher) and password of the map services for your publisher account.
Note: In fact for consuming the ArcGIS Server services a user account will also work.

Adapt the server name, the user and password of the ArcGIS map services
Repeat this step with the other connection entries that contain "myserver" in the URL. Save the changes in the project configuration by clicking the Save symbol.

Save the project configuration