Attributes are fields that let you add important information to your objectsโit can really be anything that you need. You specify attributes for an object type, and then they're passed on to all child objects, requiring users to fill them in. An object type comes with a default set of attributes.
Attribute types
You can select the attribute type, this setting determines how the attribute value should be managed (and if its allowed).
Create object type attribute
POST /jsm/assets/workspace/{workspaceId}/v1/objecttypeattribute/{objectTypeId}
The Create method creates a new attribute on the given object type.
Data type with text representation, often used to show normal text. Max 450 characters.
Boolean
-
Data type with only two possible values: true or false.
Integer
-
Commonly known as a "whole number", is a number that can be written without a fractional component. For example, 21, 4, and โ2048 are integers.
This Attributes supports the Long Integer and will allow numbers that range from -2,147,483,648 to +2,147,483,647
Float
-
Data type representing numbers with decimals.
Date
-
Data type representing a Date field.
DateTime
-
Data type representing a Date and Time field.
URL
-
Data type representing an URL field. May be used for URL Ping service that pings the address every 5 minutes from the server side. Watch object to get email notifications on URL Ping Up/Down.
Email
-
Data type representing an email field.
Textarea
-
Data type with text representation, often used when showing large text. Use Assets rich editor to customize the content. Unlimited characters in comparison to the Text attribute.
For developers: Missing attribute beans
Hereโs some info for developers trying to retrieve beans for this attribute using Java API.