Skip to main content

I am trying to style some VF pages for LEX. If I use lightningStyleSheets="true" everything looks good on 95% of the page. However, when I try to also add apex:slds to use some of the specific styles to the other 5%, everything changes. It seems like they are both fighting over the body tag. The documentation seems to indicate they can co-exist on the same page, but I cant seem to get it to work that way. #LEX4VF 

7 commenti
  1. 3 mar 2025, 20:47

    @Justin Smith

     

    This error occurs because you are trying to save the PDF as an attachment in the parent object or attach it to a single email message. The standard controller does not work when saving a PDF as an attachment, so you need to call the required fields using an Apex constructor instead of directly mapping them through the standard controller.  

     

     

    If you have any query tag me.

0/9000