• Ryan McNeely 1
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 3
    Replies
I simply want my company's logo to appear at the top of my Messaging.SingleEmailMessage
I tried referring to it as a Static Resource. It seems this is not possible in Apex.
So I tried saving the logo as a document and referencing it via Document.Body
This did not work though.

Please advise :)
global static String buildMessageBody(String firstname, String bugName, String caseNumber, Boolean display) {
                String messageBody = '<html><body>';
        		messageBody = '<div style="margin: -40px 0px -20px 30px;"><img src="/services/data/v43.0/sobjects/Document/0152D000000xxxxxAG/Body" alt="abc" width="178" height="27" /></div>';  
        		messageBody += '<p>Great news! ' + bugName + ' has been fixed. This bug relates to your Support Ticket: ' + caseNumber +'.</p>';
        		messageBody += 'Thank you<br/>';                
                        messageBody += '</body></html>';
			return messageBody;
    }

 
Hi All, Any reason I can't add an image at the slds-grid level? When I try that here, the background image does not render. It only works when I put it at the slds-col level.
 
It works fine here at the column level, but I have another grid that has 2 columns, not only one. Same issue there. When I put the image on both columns, the background image does not continuously span across the grid.User-added image
Hi All, Any reason I can't add an image at the slds-grid level? When I try that here, the background image does not render. It only works when I put it at the slds-col level.
 
It works fine here at the column level, but I have another grid that has 2 columns, not only one. Same issue there. When I put the image on both columns, the background image does not continuously span across the grid.User-added image
Like the title says, I've created a custom layout (in the dev console: file > new > lightning component > aura:component implements="forceCommunity:themeLayout") Refer to: https://developer.salesforce.com/docs/atlas.en-us.204.0.lightning.meta/lightning/components_config_for_builder_theme_layout.htm?search_text=layout

I'd like to mimic, or clone the header and footer areas of the Napili template (with slight modifications). Or, at least - I'd like to include the logo and background image in the header... Does anyone know how to make this possible? 

Any advice is appreciated, thanks!
I need to move the search bar from the header section in to the top of the side bar in the Napili template. Is it possible to do that?