Wählen Sie Ihre Sprache:

<we:write type="document">

Since version: - | Requires endtag: no

Description

This tag stores a document generated by <we:form type="document">.

Attributes

type

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

Allowed values:

  • document

formname

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

Set this attribute to the name of the form which contained the input values when the document was created.


publish

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

Set this attribute to "true" to publish the webEdition document. If it is set to false, it will be stored but not published.

Allowed values:

  • true
  • false

doctype

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

Set the attribute to the name of document type which the changed or created document should have.


categories

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

Set this Attribute to a comma seperated list of the category or categories to which the created webEdition document should belong. This attribute is obsolete if there are already categories defined in the document type which is set in the attribute "doctype".


userid

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

Set this attribute to a field which contains a webEdition user ID. The document will only be stored if the current user and the stored user are identical.


admin

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

Set this attribute to the name of a field in the Customer Management Module which indicates whether a user is an administrator or not. The write operation will only be successful if the field contains a non-null and non-zero value.


forceedit

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

If set to "true", the document is editable even without the customer management module (PRO) installed.

Allowed values:

  • true
  • false

mail

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

Set this attribute to an email address which should receive creation, modifcation and deletion notifications.


mailfrom

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

Set this attribute to the email address which should appear in the "from" line of the notification email.


charset

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

Set the character set to be used in the mail here. If this attribute is unset, the mail will be sent using: "iso-8859-1".


protected

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

Allowed values:

  • true
  • false

Syntax

<we:write type="document" [formname="attribute"] [publish="true|false"] [doctype="attribute"] [categories="attribute"] [userid="attribute"] [admin="attribute"] [forceedit="true|false"] [mail="attribute"] [mailfrom="attribute"] [charset="attribute"] [protected="true|false"] />