Wählen Sie Ihre Sprache:

<we:field type="binary">

Since version: - | Requires endtag: no

Description

This tag is used within a <we:listview type="object"> tag to output "binary document" fields. A binary document is a document added to webEdition via the menu File → New → Other → Other Files.

Specific

Inside <we:linklist> this tag cannot have attributes.

Attributes

type

Default value: - | since version: - | required: yes

Allowed values:

  • binary (required module: DB/Object Modul)

name

Default value: - | since version: - | required: yes

Set this attribute to the name of the target field to be put out.

Allowed values:

  • WE_PATH
  • WE_ID
  • wedoc_CreationDate
  • wedoc_ModDate
  • wedoc_ParentID
  • wedoc_Text

hyperlink

Default value: - | since version: - | required: no

Allowed values:

  • true
  • false

href

Default value: - | since version: - | required: no


target

Default value: - | since version: - | required: no

Allowed values:

  • _top
  • _parent
  • _self
  • _blank

Syntax

<we:field type="binary" name="WE_PATH|WE_ID|wedoc_CreationDate|wedoc_ModDate|wedoc_ParentID|wedoc_Text" [hyperlink="true|false"] [href="attribute"] [target="_top|_parent|_self|_blank"] />

Examples

Example

<we:listview type="object" classid="1">
  <we:repeat>
    <a href="<we:field type="binary" name="EventsplanPDF"/>">Download</a><br>
  <we:repeat>
</we:listview>

Example

<we:listview type="object" classid="1">
  <we:repeat>
    <a href="<we:field type="binary" name="EventsplanPDF"/>">Download</a><br>
  <we:repeat>
</we:listview>