RecordFunctionsSaveDocument Method

Scanjour Workflow4 Reference Manual
Save document in repository.

Namespace:  Scanjour.Workflow4.Base
Assembly:  Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 22.1.0.0 (22.1.0.0)
Syntax

public static Record SaveDocument(
	Uri oDataUri,
	string fileID,
	Record primaryRecord,
	Stream documentStream,
	string title,
	string documentExtension,
	IEnumerable<RecordContact> parties = null,
	string recordState = "ARK",
	string recordType = "DOK",
	string source = "",
	string recordGrp = "",
	SecurityContext securityContext = SecurityContext.User
)

Parameters

oDataUri
Type: SystemUri
The oData uri.
fileID
Type: SystemString
ID of a file to store document on. Provide ID of file containing primary record if save under other document.
primaryRecord
Type: Record
Document that will be parent for document being saved.
documentStream
Type: System.IOStream
Document content.
title
Type: SystemString
Name under which document will be saved.
documentExtension
Type: SystemString
Document extension.
parties (Optional)
Type: System.Collections.GenericIEnumerableRecordContact
The record Contacts to add to the record.
recordState (Optional)
Type: SystemString
Record state, default is ARK.
recordType (Optional)
Type: SystemString
Record type, default is DOK.
source (Optional)
Type: SystemString
Record source, default is empty.
recordGrp (Optional)
Type: SystemString
Record group, default is empty.
securityContext (Optional)
Type: Scanjour.Workflow4.BaseSecurityContext

[Missing <param name="securityContext"/> documentation for "M:Scanjour.Workflow4.Base.RecordFunctions.SaveDocument(System.Uri,System.String,Scanjour.Process.OData.Client.Proxy.Record,System.IO.Stream,System.String,System.String,System.Collections.Generic.IEnumerable{Scanjour.Process.OData.Client.Proxy.RecordContact},System.String,System.String,System.String,System.String,Scanjour.Workflow4.Base.SecurityContext)"]

Return Value

Type: Record
Record being saved.
See Also

Reference