Gets a list of CSV Import columns based on current admin settings
Namespace:
RainWorx.FrameWorx.MVC.Models.CSVAssembly: 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: ListIColumnSpecSee Also