content::type::attribute::new (public)
content::type::attribute::new -content_type content_type \ -attribute_name attribute_name -datatype datatype \ -pretty_name pretty_name [ -pretty_plural pretty_plural ] \ [ -sort_order sort_order ] [ -default_value default_value ] \ [ -column_spec column_spec ]
Defined in packages/acs-content-repository/tcl/content-type-procs.tcl
- Switches:
- -content_type (required)
- -attribute_name (required)
- -datatype (required)
- -pretty_name (required)
- -pretty_plural (optional)
- -sort_order (optional)
- -default_value (optional)
- -column_spec (optional)
- Specification for column to pass to the database. Not optional if the column does not already exist in the table.
- Returns:
- attribute_id for created attribute
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- content_item