Attachment constraints

Attachment constraints limit the types of documents that can be attached to licenses in Infor Public Sector and Rhythm for Civics. You can also use attachment constraints to require certain types of documents to be attached.

You can define attachment constraints for license types or for specific milestones. The constraints for a license type affect the Start License process, and the constraints for a milestone affect licenses at that milestone.

At a minimum, each attachment constraint specifies an allowed document type. If no attachment constraints are specified for a license type or milestone, then all document types can be attached.

To set requirements for a document type you can add a requirements formula to an attachment constraint. For example, your formula might use the MinimumRequired property of the Hansen.Core.Attachments.DocumentTypeRequirement object to specify the number of documents that must be attached at a particular milestone.

There are two other formulas that you can use to disable document type permissions for an attachment constraint. You can't grant any new permissions through these formulas, you can only disable existing permissions.

The standard permissions for document types are defined in two places:

  • For Infor Public Sector, document type permissions are defined in Access Control.

    See "Document types" in the Infor Public Sector System Administration Guide.

  • For Rhythm for Civics, document type permissions are defined in the Portal Configuration grid in Document Type Setup.

    See "Attachments" in the Infor Rhythm for Civics Administration Guide.

For example, the standard portal permissions for a certain document type might allow customers to delete attachments in Rhythm for Civics, but you might not want to allow customers to delete documents from a particular license type. You can use a portal permission formula to disable the Delete permission for portal customers.