Appendix C- Repository Path

When uploading resources you can optionally specify a repository folder to add them to in the Repository Path text box. This can be an existing folder or a new folder which does not yet exist. If the folder does not exist the uploader will create it. Also, as described in Appendix B the uploader will create three further sub-folders called NamedMaps, NamedLayers and NamedTables.

If you leave the Repository Path blank or just use “/” then the resources are added under the root folder. The root is the folder always called “default”. Hence in this case the uploader will add the resources to the following sub folders.
http://<server>:<port>/RepositoryService/repository/default/NamedMaps
http://<server>:<port>/RepositoryService/repository/default/NamedLayers
http://<server>:<port>/RepositoryService/repository/default/NamedTables
If you specify a single folder name such as “DemoMaps” then the resources are added as follows. If DemoMaps does not exist as a folder it will be created.
http://<server>:<port>/RepositoryService/repository/default/DemoMaps/NamedMaps
http://<server>:<port>/RepositoryService/repository/default/DemoMaps/NamedLayers
http://<server>:<port>/RepositoryService/repository/default/DemoMaps/NamedTables 
You can also specify multiple levels of folder such as “DemoMaps/EnvironmentProject”. In this case resources are added as follows:
http://<server>:<port>/RepositoryService/repository/default/DemoMaps/EnvironmentProject/NamedMap
http://<server>:<port>/RepositoryService/repository/default/DemoMaps/EnvironmentProject/NamedLayer
http://<server>:<port>/RepositoryService/repository/default/DemoMaps/EnvironmentProject/NamedTable
Note: When specifying folders ensure that you use the forward slash “/” and not a backslash “\”.