Click or drag to resize

MainSaveDataObjCSVExtended Method

Method is used to save a CSV file generated from a view.
Codemethod usage
Designed to be used in a process only (Yes/No)No
Action Object (data object type)DataObjectType

Namespace:  Omada.OE.UtilityCodeAssembly
Assembly:  Omada.OE.UtilityCodeAssembly (in Omada.OE.UtilityCodeAssembly.dll) Version: 15.0.0.0
Syntax
C#
public bool SaveDataObjCSVExtended(
	CodeMethodInvokeContext context,
	int viewId,
	int maxReturnedObjects,
	int configurationId,
	bool useAccessModifier
)

Parameters

context
Type: Omada.OE.ModelCodeMethodInvokeContext
An invoke context object.
viewId
Type: SystemInt32
The id of the view to be saved as CSV file.
maxReturnedObjects
Type: SystemInt32
The maximum number of data objects to be written in the view.
configurationId
Type: SystemInt32
The id of the code methodconfiguration that should look like:

<UploadCSVConfig UNCPath="\\Filesrv01\Shared\Users\st\UploadAndExecuteTest.csv" Encoding="UTF-8" Domain="OMADA" Username="user name" Password="pass"></UploadCSVConfig>

useAccessModifier
Type: SystemBoolean
use access modifier configured in view

Return Value

Type: Boolean
See Also