Skip to main content

I am posting solution for challenge in module "Create & Edit Visualforce Pages "

Challenge :- Create a simple Visualforce page that displays an image

Create a Visualforce page without the standard Salesforce header and display an image using the Visualforce image component.

Challenge Requirements

Solution :- 

<apex:page showHeader="false" sidebar="false">

    <apex:image url="https://developer.salesforce.com/files/salesforce-developer-network-logo.png"/>

</apex:page>

1 commento
  1. 12 mag 2022, 17:03

    Thanks for sharing this, Atul! It was confusing that in the lesson they expressly state "there’s no way to suppress the Lightning Experience header" and that showHeader = "false" does nothing, but the challenge says "It must not display the standard Salesforce header". I would have spent a lot of time trying to find a way around that, but your solution worked!

0/9000