More about Attachment Category rules
|
|
WorkPage
or for the attachment (Data-WorkAttach- class) on the AttachmentList
page. For example, if the attachment rule is qualified with the when rule called AnybodyInTheWorkObjectOrgUnit, the category rule will evaluate to true if the operator's organization unit is on the work page.
Attachment categories created by using the Attachment Wizard in PRPC Version 5.4 or earlier could only be used with file attachment types. Security was limited to create and edit operations based on privileges. When upgrading an application to PRPC Version 5.5 or later, you can choose to replace existing category definitions with attachment category rules. Doing so lets you take advantage of the rule's extensive security features for all attachment types.
To upgrade, create a new attachment category rule and enter the existing category name in the Category Name field on the new rule dialog. The new rule and its settings override the existing category.
Warnings display when the rule is saved stating that an "old attachment category exists", and "an unexpected privilege exists." The new rule will validate and function without error.
To eliminate the"old category" warning, delete the attachment name in field value .pyAttachmentCategory. To eliminate the" unexpected privileges" warning, delete the Create_<attachment category name> and Edit_<attachment category name> rules. Alternatively, select the Create and Edit options on the rule form so that they correspond to the original configuration. If you think you might revert to the original category definition, do not delete the rules.
The privileges Work-.DeleteAnyAttachment. and Work-.DeleteOnlyOwnAttachment are available if needed. They can be used to override any attachment's Delete Own and Delete Any rule settings. For an example, see the PDN article How to enable users to delete attachments.
Neither these privileges nor attachment category rules allow anyone to delete correspondence items, a special form of file attachment. The system retains correspondence as a permanent record of information that was conveyed to an outside party or system.
attachment category, attachment type | |
Standard Attachment Category rules |