Imports specified folders and documents located on the server to an infoRouter path.

Syntax

Visual Basic (declaration)
Public Function ServerSideImport( _ 
ByVal AuthenticationTicket as String, _ ByVal BaseServerSidePath as String, _ ByVal Items as String, _ ByVal TargetIRPath as String) as XmlNode

C# (declaration)
public XmlNode ServerSideImport( 
string AuthenticationTicket, string BaseServerSidePath, string Items, string TargetIRPath)

Parameters

AuthenticationTicket
    string infoRouter ticket
BaseServerSidePath
    string The base path on the server
Items
    string Pipe delemited folder or file names that are located in the BaseServerSidePath parameter.
TargetIRPath
    string an infoRouter Folder Path.

Return Value

returns xml fragment.
<response success="true" error="" />

if success attribute is "true", all items imported successfully.
if success attribute is "false", the error attribute indicates the encountered error.

Remarks

The Caller must be sysadmin.
The BaseServerSidePath parameter value must be defined in the configuration file. (<apppath>\config\accesspaths.xml)

See Also