<we:write type="object">
Since version: - | Requires endtag: no
Description
This tag stores an object generated with the <we:form type="object"> tag.
Attributes
type
Default value: - | since version: - | required: yes
Allowed values:
object
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 object was created.
publish
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to "true" to publish the object. If it is set to "false", it will be stored but not published.
Allowed values:
truefalse
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 object should belong.
classid
Default value: - | since version: - | required: no
userid
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to a field which contains a webEdition user ID. The object 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 object is editable even without the Customer Management Module (PRO) installed.
Allowed values:
truefalse
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".
triggerid
Default value: - | since version: 2.2.0.0 | required: no
Set this attribute to the value of the ID of a dynamic document which is used to display the new object. The display will be subject to normal workspace restrictions.
protected
Default value: - | since version: 5.1.0.0 | required: no
Allowed values:
truefalse
Syntax
<we:write type="object" [formname="attribute"] [publish="true|false"] [categories="attribute"] [classid="attribute"] [userid="attribute"] [admin="attribute"] [forceedit="true|false"] [mail="attribute"] [mailfrom="attribute"] [charset="attribute"] [triggerid="attribute"] [protected="true|false"] />