0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Quick Start: Visualforce

Last updated at Posted at 2023-09-19

Create a Visualforce Page

何もしないで検証ボタンをクリック

We could not find the Visualforce page named ‘Contact Form’. Make sure you create the Visualforce page.

これがなくても、Visualforce Pageを作れば合格できた

public with sharing class ContactPagination{
}

Add a Standard Controller to the Page

何もしないで検証ボタンをクリック

We didn’t find the

and tags in the code. Don’t forget to add the and tags in between the apes:page tags.
<apex:page standardController="Contact">
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <title>Quick Start: Visualforce</title>
        <!-- Import the Design System style sheet -->
        <apex:slds />        
    </head>
    <body>
        <apex:form>
            <apex:pageBlock title="New Contact">
                <!--Buttons -->
                <apex:pageBlockButtons>
                    <apex:commandButton action="{!save}" value="Save"/>
                </apex:pageBlockButtons>
                <!--Input form -->
                <apex:pageBlockSection columns="1">
                    <apex:inputField value="{!Contact.Firstname}"/>
                    <apex:inputField value="{!Contact.Lastname}"/>
                    <apex:inputField value="{!Contact.Email}"/>
                </apex:pageBlockSection>
            </apex:pageBlock>
        </apex:form>        
    </body>
    
</apex:page>

Add a Form to the Visualforce Page

何もしないで検証ボタンをクリック

We could not find the Visualforce Page as the action override for the New Contact action.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?