Binary Field is used for storing binary data. This is the most important Field defined on the File Content Type: after uploading a file the binary content of your file will be stored in a Binary field.
In a Binary field any kind of binary data can be stored without length restrictions. This is very useful, when you want to store uploaded files on your portal. The following apply to the behavior of the field:
Usage in CTD:
<Field name="BinaryData" type="Binary"> ... </Field>
The following properties can be set in the Field’s Field Setting configuration:
The IsText configuration property value is only a hint and the Binary Field Control displaying the control can override this setting in cases when the Content has a special extension or it is a Content Type.
Fully featured example:
<Field name="BinaryData" type="Binary"> <DisplayName>Binary content.</DisplayName> <Description>This field contains the binary of a file.</Description> <Configuration> <ReadOnly>false</ReadOnly> <Compulsory>false</Compulsory> <IsText>true</IsText> </Configuration> </Field>
The above example configures the Binary field so that:
Is something missing? See something that needs fixing? Propose a change here.