Click or drag to resize

SharepointHandlerImportDocumentWithIndexFields Method

This import method is to be used if there are Sharepoint contenttype values that should be passed in along with the imported document.

Namespace:  Atalasoft.Imaging.WebControls.Capture
Assembly:  Atalasoft.dotImage.WebControls (in Atalasoft.dotImage.WebControls.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
protected override Dictionary<string, string> ImportDocumentWithIndexFields(
	HttpContext context,
	string filename,
	string contentType,
	string contentTypeDocumentClass,
	string contentTypeDescription,
	string indexFields
)

Parameters

context
Type: System.WebHttpContext
The HttpContext
filename
Type: SystemString
The path to where the file has been uploaded.
contentType
Type: SystemString
The name of the Sharepoint list to which the document will be added to.
contentTypeDocumentClass
Type: SystemString
This is the Sharepoint ContentType that the document is created as.
contentTypeDescription
Type: SystemString
This is an unused parameter. It can be set to 'null'.
indexFields
Type: SystemString
The list of index fields from the client.

Return Value

Type: DictionaryString, String
Returns a dictionary that contains a key or 'success', or 'error'. In the case of success the values of the key will be the CMIS object id that the imported document was given. If the key is error, the value will be the error message.
See Also