An attachment category is assigned to an attachment as it is added to a case, through any one of several attachment-related local flow actions or on a user form. The category name typically indicates the content or significance of the attachment such as:
Using attachment category rules, developers can restrict a user's ability to perform operations such as add, delete, view, and edit attachments based on privileges, when conditions, or attachment types.
Attachment categories and types differ as follows:
You can use the standard page list properties pyAttachments and pyAttachmentCategories to reference attachments by type (Link-Attachment class) or by category (Embed-AttachmentCategory rule type). Each pyAttachments entry contains another set of pagelist pyAttachmentCategoryList of class Link-attachment.
At runtime, when the user or system adds an attachment, the system associates a page list properties with the case. The properties are transient and are not persisted with the case. The data is populated only when the property is referred and refreshed for every interaction.
When working on the clipboard, locate the properties on pyWorkPage.
The Attachment Category wizard, which appears in the V5.1-V5.4 Developer portal Cases and Content slice, is not available in V5.5. Create categories using category attachment rules. See More about Attachment Category rules for upgrade instructions.
Beginning with V5.5, you cannot associate attachment categories with custom types (a new subclass of the Data-WorkAttach- class). Categories used with custom types created in versions prior to V5.5 continue to function as originally configured. These categories cannot be upgraded to category attachment rules. ssd