Edit Directory

Description

The edit operation on a directory can be used to change the physical path and description properties of the directory. This is useful when changing the location of a directory from a local path to a network share. However, the API does not copy your content and data from the old path to the new path. This has to be done independently by the system administrator.

NoteNote:

After editing a directory, the portal is automatically restarted. The restart takes a couple of minutes to complete; your portal is temporarily unavailable during this time.

Request Parameters

Parameter

Details

physicalPath

The new path for the directory.

description

The new description for the directory.

Example Usage - Prior to 10.5

https://server.domain.com/gis/portaladmin/system/directories/content/edit
physicalPath=\\server\share\content
description=A network share to hold portal content.

Example Usage - 10.5

https://server.domain.com/gis/portaladmin/system/directories/content/edit
{
  "type":"fileStore",
  "provider":"FileSystem",
  "connectionString":"//server/share/content",
  "isConnectionStringEncrypted":false
}
3/3/2017