Table of Contents

Enum CPContentBaseClass.FieldTypeIdEnum

Namespace
Contensive.BaseClasses
Assembly
CPBase.dll

Field types. This enum replaces FileTypeIdEnug.

public enum CPContentBaseClass.FieldTypeIdEnum

Fields

AutoIdIncrement = 13

(integer). Creates automatically incrementing integer

Boolean = 4

(bool) true or false. Stored in Db as integer, 0=false, 1=true. Tested as null|0 = false oterwise true

Currency = 9

(double) usd currency

Date = 5

(date)

File = 6

Uploaded file of any type. Path is created specifically for the path it is created in and stored in the db as an varchar(255)

FileCSS = 16

(string, varchar(255)), holds a path and filename to a css content file

FileHTML = 22

(string, varchar(255)), holds a path and filename to a content file with html content

FileHTMLCode = 24

(string, varchar(255)), holds a path and filename to a content file with html content and edited as html code

FileImage = 11

Uploaded image file. Path is created specifically for the path it is created in and stored in the db as an varchar(255)

FileJavaScript = 18

(string, varchar(255)), holds a path and filename to a javascript content file

FileText = 10

(string, varchar(255)), stores the path and filename of a content file holding text

FileXML = 17

(string, varchar(255)), holds a path and filename to an xml content file

Float = 12

(double)

HTML = 21

(string, varchar(max)), holds text content that represents html

HTMLCode = 23

(string, varchar(max)), holds text content that represents html and edited as html code

Integer = 1

(int32) Positive and negative integer 32-bit values, -2,147,483,648 to 2,147,483,647

LongText = 3

(string) Literal strings stored up to 65535 characters.

Lookup = 7

(int) A foreign key to the primary key (id) of another table

ManyToMany = 14

no value stored. This field hold metadata that creates a checkbox list for a many-to-many relationship

MemberSelect = 15

(int) Holds a lookup id for the ccmembers table limited by those in a group definied in the metadata

Redirect = 8

no value stored. This field holds metadata that creates a forward link on the editing page for many-to-many fields

(string, varchar(255)), holds a url

Text = 2

(string) Literal strings stored up to 255 characters.