Skip to main content

#CSS Hacks0 utenti parlano di questo argomento

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

#CSS Hacks #Experience Cloud #Chatter

18 risposte
  1. Tom Bassett (Vera Solutions) Forum Ambassador
    15 nov 2023, 14:48

    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;

    }

0/9000

Hello. I have just started started to work with PARDOT. I have been asked to help with design of FORM that will be embedded on client's website and in order to achieve the look and feel I made a few JS and CSS hacks using NAME field of input. I would like to find out if its possible that the unique name field could change at any time therefore ruining my design. 

1 commento
0/9000