After successfully publishing the SynOutputService it add dynamic workspaces in order to be able to provide upload functionality in WebOffice 10.4 SP2. Be sure to add both dynamic workspaces for vector AND raster data to fulfill the prerequisites for the Upload Local Geodata tool.
Note: Besides preparing the dynamic workspaces, the tool Upload Local Geodata has to be configured in your WebOffice 10.4 SP2 project configuration later on.
Right-click the new SynOutputService in ArcCatalog and return to the service editor by clicking Service Properties.
Open service properties
In a next step go to Mapping and activate Allow per request modification of layer order and symbology, then click the button Manage... next to it. A new dialog will open, allowing you to manage dynamic workspaces. Click Add...
Note: The service has to be published first before it is possible to manage dynamic workspaces.
Manage dynamic workspaces
Add Dynamic Workspace Type: File Geodatabase (Vector Data)
In order to be able to upload vector data such as
it is necessary to add dynamic workspaces of workspace type File Geodatabase. If not preselected, choose File Geodatabase as workspace type, then enter syn_upload_01 as Workspace ID.
Add dynamic workspace - file geodatabase
In order to choose the Connection String click the ... button an navigate to the folder where you saved the provided file geodatabases (e.g. <ArcGIS Server location>\directories\ServiceDocuments). Select the syn_upload_01.gdb and approve with Select. Add the dynamic workspace by clicking OK.
Add dynamic workspace - select a file geodatabase
Repeat this step as shown in the figure below for all the five syn_upload file geodatabases, while increasing the Workspace ID according to the selected file geodatabase. Then finish the action by clicking the OK buttons.
Repeat the steps for all existing syn_upload FileGDBs
Add Dynamic Workspace Type: Raster Folder (Raster Data)
In order to be able to upload raster data such as
it is necessary to add a dynamic workspace of workspace type Raster Folder. Set Raster Folder as workspace type, then enter syn_upload_raster_01 as Workspace ID.
Add dynamic workspace - raster folder
In order to choose the Connection String click the ... button and navigate to the SynOutputService directory (e.g. <ArcGIS Server location>\directories\ServiceDocuments\SynOutputService). Select the folder syn_upload_raster_01 in this directory and approve with Select. Add the dynamic workspace by clicking OK.
Add dynamic workspace - select the raster folder
Added dynamic raster workspace
Note: The uploaded raster geodata will be stored to the specified workspace. Be sure to clean up the folder regularly e.g. by using a batch recycling routine.
Note: Please consider, that the Workspace-ID has to be unique. Therefore, please add a special ending to the Workspace-ID, eg. syn_upload_raster_01.
Note: Please make sure that the user, that runs the ArcGIS 10.4 for Server, has read/write access to the folder SynOutputService (inlcuding subfolders) in the ServiceDocuments directory.
Note: See chapter Upload Local Geodata for details about the tool configuration in WebOffice author.