Activity › Forums › Salesforce® Discussions › What is difference between the apex:include and Salesforce visualforce component ?

  • PRANAV

    Member
    September 22, 2016 at 5:25 AM

    Hi Mohit,

    • <apex:include> is used when you want to insert that page as it is in your current page. The entire contents of that page is copied in your current page.
    • <apex:component> is defining a component before using it. In simple words, lets  say you define that 'myValue' component is a string type but the value to that string will be assigned in the destination page.

    Hope this helps you.

    Thanks

     

     

Log In to reply.

Popular Salesforce Blogs

Understanding the role of Salesforce Consulting in Driving Digital Transformation

Blog in

In today’s rapidly evolving business environment, digital transformation has become a critical priority for companies across all industries. Digital transformation integrates digital technology into an…

Popular Salesforce Videos