Activity Forums Salesforce® Discussions VF Page for custom object in Salesforce?

  • VF Page for custom object in Salesforce?

    Posted by Anjali on April 2, 2020 at 1:02 pm

    How to create visualforce page for custom object in Salesforce?

    MOHIT replied 4 years ago 2 Members · 1 Reply
  • 1 Reply
  • MOHIT

    Member
    April 2, 2020 at 1:18 pm

    These are the Steps:
    1) Sign in to Salesforce with a Salesforce administrator account.
    2) Click Setup in the upper right of the page.
    3) In the navigation pane, click Build > Develop > Visualforce Pages.
    The right pane displays a list of the Visualforce pages.
    4) In the middle of the page, click New.
    The Page Edit page appears.
    5) Enter the details for the Visualforce page.
    a) In the Label box, type the Visualforce page label.
    The name has the format COS CustomObjectName VF, for example COS Inventroy VF.
    b) In the Name box, type the Visualforce page name.
    The name has the format COS_CustomObjectName_VF, for example COS_Inventroy_VF.
    c) In the Description box, type the Visualforce page description, for example "This page accesses the Commvault ObjectStore for the Inventory object".
    The name has the format COS_CustomObjectName_VF, for example COS_Inventroy_VF.
    6) On the Visualforce Markup tab, add the code snippet similar to the one below, substitute the CustomObjectAPI variable with the value that you noted from the Identifying the API Name for a Salesforce Custom Object procedure.
    <apex:page standardController="CustomObjectAPI" showHeader="false" showChat="false" sidebar="false">
    <c:COS_Component />
    </apex:page>

    7) Click Save.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos