[HideNew]

Has no parameters

Description:

In the Admin interface, when viewing the related record tabs for a record, this relationship attribute will hide the New button to prevent users from easily creating new attached records for that relationship. In most cases, this is used to force the user to use the Attach button instead, but it is valid to hide both New and Attach. To hide the Attach button, use the [HideAttach] relationship attribute.

This attribute changes the UX only; it does not block the action should the correct URI be submitted to the server, as this attribute is a UX simplification for users, not intended as a security measure. If such security measures are required, they should be conditionally blocked using a Message Handler.

Examples:

Child Attributes: [HideNew]
When viewing a parent record, the related records tab for the child table will not offer the New button.

Parent Attributes: [HideNew]
When viewing a child record, the related records tab for the parent table will not offer the New button.