Predefined Properties

Skip to end of metadata
Go to start of metadata

With predefined properties you can help/show the editors working within your pimcore installation which properties are available for their use.
You can also define default values for each defined property to improve the productivity of your editors.

"Predefined" does not mean that the value of the predefined property is available for every document. To add global properties which are available everywhere use Website Settings instead.

Example Configuration

How to configure 

Mandatory fields are: 

  • Name
  • Key
  • Type
  • Content-Type

Details to each field

Name

The name is not the key of the property itself (which you use in actions and templates), it's just the friendly name shown in the selection.

Key

This field is the key wich you use in your code to retrieve the contents of the property. For example: $document->getProperty("key");

Type

Specifies the type of the content which is allowed in the property. 
Available types are: 

  • text
  • document
  • asset
  • object
  • bool (checkbox)
  • select

Value

Here you can define a default value for this property which is added automatically to the property when it is added to a element. This field is optionally.
See the example configuration above for details.

Configuration

This field is used to configure a property. Until now this is used only by the property-type "select".
See the example configuration above for details.

Content-Type

Defines for wich element-type (document, asset or object) the property should be available. (mandatory)

Interhitable

Inheritable or not.

Note
Each defined field can be overwritten in the element after it was added.

Labels

properties properties Delete
documents documents Delete
settings settings Delete
configuration configuration Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.