Hello Trailblazers,
In Administration>Preferences/Files I have only allowed shp file type. This works well in discussion forums because it is a useless file type that attempting to attach file types is pointless. However, using the Chatter functionality in case records users can attach any file type. The file restriction does not seem to apply.
Is there a CSS hack to hide the paper clip? We don't folks using Chatter but don't want to allow attachments.
Thanks Trailblazers
Tom Bassett (Vera Solutions) Forum Ambassador
If you want to hide the Paperclip from the Contact Support Form then within the component properties turn off the option to attach a file under Authenticated Users
For the Ask Question Modal this CSS hides the paperclip in my developer org;
.cuf-publisherAttachmentBar.desktop.fadeInList.forceChatterPublisherAttachments {
display: none;
}
With the help of a additional override for the comment functionality this seems to take care of all of your use cases;
button.slds-button.slds-button--neutral.uiButton.forceChatterAttachFileButton {
display: none;
}