Custom attributes are a great way to get content into Document Templates that would otherwise have to be added manually, but when there are multiple document types for different contract types (PO/Longform/Shortform) and each might require different custom attributes, it makes it very confusing which attributes need to be filled out for which document type.
To have the ability within custom attribute settings to specify a connection to a TYPE of contract, or to the document templates present would be very helpful. When the TYPE of contract is chosen, lets say a Purchase Order, then only the custom attributes related to that TYPE of contract should be visible in the flyout panel.
The flyout toggle to turn off irrelevant/unnecessary attributes is just too late. This should be set up at the template level and not left for a user to figure out per contract.