You are here: RainWorx.FrameWorx.MVC Namespaces > RainWorx.FrameWorx.MVC.Models Namespaces > RainWorx.FrameWorx.MVC.Models.CSV > GetColumnSpec Method

CSVGetColumnSpec Method

AuctionWorx 3.5 API
Gets a list of CSV Import columns based on current admin settings

Namespace:  RainWorx.FrameWorx.MVC.Models.CSV
Assembly:  RainWorx.FrameWorx.MVC (in RainWorx.FrameWorx.MVC.dll) Version: 3.5

Syntax

C#
public static List<IColumnSpec> GetColumnSpec(
	Controller controller,
	string actingUserName,
	string webroot,
	string cultureCode,
	bool saveAsDraft
)

Parameters

controller
Type: Controller
reference to the controller calling this method, to enable access to RESX resrouces
actingUserName
Type: SystemString
the username of the acting user
webroot
Type: SystemString
the physical file path of the application root
cultureCode
Type: SystemString
the culture code to use for displaying and interpreting all numeric and date values
saveAsDraft
Type: SystemBoolean
if true, only fields required for draft listings/lots will return validation errors when missing

Return Value

Type: ListIColumnSpec
See Also

Reference

Copyright © 2002-2022. RainWorx Software. All rights reserved.