In order to automatically publish the SynOutputService, follow the steps in the described way:
•Copy the SynOutputService files from the WebOffice10.8-DVD to your system
•Check the access right on the data
•Execute the script
•Check the successfully published Service
The script can be found here: WebOffice10.8-DVD\Software\Miscellaneous\Automatization\PublishSynOutputService.py
Copy the SynOutputService files from the WebOffice10.8-DVD to your system
Copy the content from WebOffice10.8-DVD\Software\WebOffice directories\ServiceDocuments to your ServiceDocuments directory (e.g. C:\arcgisserver\directories\ServiceDocuments).
Extract the SynOutputService.zip
It contains the SynOutputService.mxd and a folder SynOutputService with eight file geodatabases and another folder:
Use the markup feature classes in the SynOutputService directly from an eGDB (SDE). For demo and test purposes it is recommended to leave the markup feature classes of the SynOutputService in the fGDB and for productive use, i. e. as soon as there is a load on the server, to always move them into an SDE database.
See more details in Put Markup Feature Classes into SDE.
•Make sure that the user that runs ArcGIS Server has full rights for all syn_markup geodatabases. Otherwise there might be problems with displaying selections in WebOffice map widget or measure drawings won't be visible when printing the maps.
•Make also sure, that the attribute read-only of the folder SynOutputService (including subfolders) is NOT checked.
•Be sure that the user that runs ArcGIS Server has full rights for the file geodatabases! Otherwise, the Upload Local Geodata tool will not be available.
SynOutputService file structure
SynOutputService - Security settings for gdb
Execute the script
Start the command line and browse to the path, where the file PublishSynOutputService.py is located. Then, execute the script by entering the file name.
The script works only if ArcGIS Server is accessible via Port 6080!
Follow the instructions of the script. There are some mandatory inputs:
1.Use default path to arcgisserver directory (C:\arcgisserver)? Enter Y/N
Confirm with 'y' if your arcgisserver directory is located in C:\arcgisserver. In case you enter 'n', you will need to enter the path manually, e.g. D:\arcgisserver
2.Enter user name to access service:
Enter an ArcGIS Server user with administrator privileges, e.g. siteadmin
Enter the password for the respective ArcGIS Server user with administrator privileges
4.Enter Server name: (e.g. serverhost.domain.com)
Enter the full server name, e.g. myserver.domain.intern
5.Enter the minimum instance:
Enter the minimum number of instances
6.Enter the maximum instance:
Enter the maximum number of instances
7.In the next step, the service will be published and the analyze results will be shown. After successful publishing, service properties will be updated (activating the Server Object Extension, adding of dynamic workspaces), with the minimum/maximum instances to be defined manually.
8.Service edited successfully
The script was successful
Check the successfully published service
Open ArcGIS Manager by entering(e.g. ) into your browser and log-in with the primary site administrator name and password that was set during the site creation process. Check, whether all properties of the SynOutputService have been configured correctly.
Check specifically the dynamic workspaces and the activated Server Object Extension