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: (.NET 4.5.2, x86)
protected override Dictionary<string, string> ImportDocumentWithIndexFields(
	HttpContext context,
	string filename,
	string contentType,
	string contentTypeDocumentClass,
	string contentTypeDescription,
	string indexFields


Type: System.WebHttpContext
The HttpContext
Type: SystemString
The path to where the file has been uploaded.
Type: SystemString
The name of the Sharepoint list to which the document will be added to.
Type: SystemString
This is the Sharepoint ContentType that the document is created as.
Type: SystemString
This is an unused parameter. It can be set to 'null'.
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