Publish the SynOutputService automatically

In order to automatically publish the SynOutputService, follow the steps in the described way:

Copy the SynOutputService files from the WebOffice10.9R4-DVD to your system

Check the access right on the data

Execute the script

Check the successfully published Service

 

icon_comment

The script can be found here: WebOffice10.9R4-DVD\Software\Miscellaneous\Automatization\PublishSynOutputService.py

 

Copy the SynOutputService files from the WebOffice10.9R4-DVD to your system

Copy the content from WebOffice10.9R4-DVD\Software\WebOffice directories\ServiceDocuments to your ServiceDocuments directory  (e.g. C:\arcgisserver\directories\ServiceDocuments).

 

Extract the SynOutputService.zip

Extract the SynOutputService.zip

 

It contains the SynOutputService.mxd and a folder SynOutputService with eight file geodatabases and another folder:

syn_markup_01.gdb

syn_markup_02.gdb

syn_markup_03.gdb

syn_markup_04.gdb

syn_upload_01.gdb

syn_upload_02.gdb

syn_upload_03.gdb

syn_upload_04.gdb

syn_upload_raster_01

syn_upload_raster_02

syn_upload_raster_03

syn_upload_raster_04

syn_upload_raster_01.gdb

syn_upload_raster_02.gdb

syn_upload_raster_03.gdb

syn_upload_raster_04.gdb

 

Check the access right on the data

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.

 

icon_cross-reference

See more details in Put Markup Feature Classes into SDE.

 

icon_comment

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 file structure

 

SynOutputService - Security settings for gdb

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.

 

wo_Publish_SynOutputService_auto1

 

icon_comment

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

3.Enter password:
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
 
wo_Publish_SynOutputService_auto2

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.
 
wo_Publish_SynOutputService_auto3

8.Service edited successfully
The script was successful

Check the successfully published service

Open ArcGIS Manager by entering https://<server name>[:<port>]/arcgis/manager/ (e.g. http://myserver:6080/arcgis/manager) 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

 

icon_comment

If the SynOutputService is published on an ArcGIS Server version 10.9 and the WebOffice Extensions Service is installed on another server, certain configuration steps have to be performed.

icon_cross-reference

For more information see chapter AGS 10.9 - Activate SOE on a Map Service.

 

wo_Publish_SynOutputService_auto4

 

wo_Publish_SynOutputService_auto5