ContentServerActionsCreateDocument Method (Uri, File, String, FileReference, String, String, String, Stream, String, String)

Scanjour Workflow4 Reference Manual

[Missing <summary> documentation for "M:Scanjour.Workflow4.TestFramework.Internal.Actions.ContentServerActions.CreateDocument(System.Uri,Scanjour.OData.Client.Lite.WorkZone.File,System.String,Scanjour.Workflow4.TestFramework.Internal.Packages.FileReference,System.String,System.String,System.String,System.IO.Stream,System.String,System.String)"]

Namespace:  Scanjour.Workflow4.TestFramework.Internal.Actions
Assembly:  Scanjour.Workflow4.TestFramework.Internal (in Scanjour.Workflow4.TestFramework.Internal.dll) Version: 23.1.0.0 (23.1.0.0)
Syntax

public static Record CreateDocument(
	Uri oDataUri,
	File file,
	string slug,
	FileReference content,
	string title = "Test Record",
	string state = "UÅ",
	string type = "DOK",
	Stream documentStream = null,
	string responsibleUnit = "",
	string extension = "DOCX"
)

Parameters

oDataUri
Type: SystemUri

[Missing <param name="oDataUri"/> documentation for "M:Scanjour.Workflow4.TestFramework.Internal.Actions.ContentServerActions.CreateDocument(System.Uri,Scanjour.OData.Client.Lite.WorkZone.File,System.String,Scanjour.Workflow4.TestFramework.Internal.Packages.FileReference,System.String,System.String,System.String,System.IO.Stream,System.String,System.String)"]

file
Type: File

[Missing <param name="file"/> documentation for "M:Scanjour.Workflow4.TestFramework.Internal.Actions.ContentServerActions.CreateDocument(System.Uri,Scanjour.OData.Client.Lite.WorkZone.File,System.String,Scanjour.Workflow4.TestFramework.Internal.Packages.FileReference,System.String,System.String,System.String,System.IO.Stream,System.String,System.String)"]

slug
Type: SystemString

[Missing <param name="slug"/> documentation for "M:Scanjour.Workflow4.TestFramework.Internal.Actions.ContentServerActions.CreateDocument(System.Uri,Scanjour.OData.Client.Lite.WorkZone.File,System.String,Scanjour.Workflow4.TestFramework.Internal.Packages.FileReference,System.String,System.String,System.String,System.IO.Stream,System.String,System.String)"]

content
Type: Scanjour.Workflow4.TestFramework.Internal.PackagesFileReference

[Missing <param name="content"/> documentation for "M:Scanjour.Workflow4.TestFramework.Internal.Actions.ContentServerActions.CreateDocument(System.Uri,Scanjour.OData.Client.Lite.WorkZone.File,System.String,Scanjour.Workflow4.TestFramework.Internal.Packages.FileReference,System.String,System.String,System.String,System.IO.Stream,System.String,System.String)"]

title (Optional)
Type: SystemString

[Missing <param name="title"/> documentation for "M:Scanjour.Workflow4.TestFramework.Internal.Actions.ContentServerActions.CreateDocument(System.Uri,Scanjour.OData.Client.Lite.WorkZone.File,System.String,Scanjour.Workflow4.TestFramework.Internal.Packages.FileReference,System.String,System.String,System.String,System.IO.Stream,System.String,System.String)"]

state (Optional)
Type: SystemString

[Missing <param name="state"/> documentation for "M:Scanjour.Workflow4.TestFramework.Internal.Actions.ContentServerActions.CreateDocument(System.Uri,Scanjour.OData.Client.Lite.WorkZone.File,System.String,Scanjour.Workflow4.TestFramework.Internal.Packages.FileReference,System.String,System.String,System.String,System.IO.Stream,System.String,System.String)"]

type (Optional)
Type: SystemString

[Missing <param name="type"/> documentation for "M:Scanjour.Workflow4.TestFramework.Internal.Actions.ContentServerActions.CreateDocument(System.Uri,Scanjour.OData.Client.Lite.WorkZone.File,System.String,Scanjour.Workflow4.TestFramework.Internal.Packages.FileReference,System.String,System.String,System.String,System.IO.Stream,System.String,System.String)"]

documentStream (Optional)
Type: System.IOStream

[Missing <param name="documentStream"/> documentation for "M:Scanjour.Workflow4.TestFramework.Internal.Actions.ContentServerActions.CreateDocument(System.Uri,Scanjour.OData.Client.Lite.WorkZone.File,System.String,Scanjour.Workflow4.TestFramework.Internal.Packages.FileReference,System.String,System.String,System.String,System.IO.Stream,System.String,System.String)"]

responsibleUnit (Optional)
Type: SystemString

[Missing <param name="responsibleUnit"/> documentation for "M:Scanjour.Workflow4.TestFramework.Internal.Actions.ContentServerActions.CreateDocument(System.Uri,Scanjour.OData.Client.Lite.WorkZone.File,System.String,Scanjour.Workflow4.TestFramework.Internal.Packages.FileReference,System.String,System.String,System.String,System.IO.Stream,System.String,System.String)"]

extension (Optional)
Type: SystemString

[Missing <param name="extension"/> documentation for "M:Scanjour.Workflow4.TestFramework.Internal.Actions.ContentServerActions.CreateDocument(System.Uri,Scanjour.OData.Client.Lite.WorkZone.File,System.String,Scanjour.Workflow4.TestFramework.Internal.Packages.FileReference,System.String,System.String,System.String,System.IO.Stream,System.String,System.String)"]

Return Value

Type: Record

[Missing <returns> documentation for "M:Scanjour.Workflow4.TestFramework.Internal.Actions.ContentServerActions.CreateDocument(System.Uri,Scanjour.OData.Client.Lite.WorkZone.File,System.String,Scanjour.Workflow4.TestFramework.Internal.Packages.FileReference,System.String,System.String,System.String,System.IO.Stream,System.String,System.String)"]

See Also

Reference