SlideShare a Scribd company logo
1 of 22
Force.com Sites Preview
Thushara M. Samaradiwakara
tmdiwakara@gmail.com
Agenda

Technical Overview
Functional Overview
Agenda

Technical Overview
Functional Overview
The R eal-Time C loud




 Unlim ited Real-        Program m abl     Program m able      Real-Tim e             Real-Tim e
      Tim e                  e User         Cloud Logic        Workflow               Web Sit es
 Cust om izat ion          Int erface                         & Approvals
                                                                               Real-Tim e
                                                                               Web Sit es
    Real-Tim e            Int egrat ed       Real-Tim e          Granular                750+
     Mobile             Cont ent Library     Analyt ics         Securit y &           Int egrat ed
   Deploym ent                                                   Sharing             Applicat ions




                                                                                Real-Tim e Transparent
    ISO 27001              Proven            Proven,        Real-Tim e Query
                                                                                    Syst em St at us
 Cert ified Securit y     Reliabilit y      Real-Tim e         Opt im izer
                                            Scalabilit y




    Real-Tim e              Proven           Real-Tim e      Salesforce t o       3 Global Dat a
    Upgrades               Real-Tim e         Sandbox         Salesforce             Cent ers
                          Int egrat ion    Environm ent s                      & Disast er Recovery


                                           Mult it enant Kernel
“                                                             ”
    Salesforce.com will change forever t he way t hat businesses
    build websit es.
What K ind of Sites did they build?




 E-com m erce      Public Knowledge Base   Public Web Apps
 Marketing Sites   Case Subm ission        Com m unity Sites
 Sales Sites       Custom er Portals       Custom Sites
How It Works

                                          WWW
       B uild              D es ig n      Name                    Us e
Your Data In Force.com   The Perfect UI    With              With a CNAME
                                          Any URL                Alias




                                          You r Site In Ou r Clou d
Agenda

Technical Overview
Functional Overview
Site Templates & Components
          Using Components           Using Templates

 Page 1            Page 2




  Component A       Component A




     Assign a default template at the site level
     Reference that default template with expression:
     {!$Site.Template}
Site Template Structure
<apex:page showHeader="false" id="SiteTemplate">
  <apex:insert name="header”>


                                                        <c:SiteHeader />

  </apex:insert>



                                                        <apex:page …>
                   <apex:insert name=””mainContent"/>    ….
                                                        </apex:page>


  <apex:insert name=”footer”>


                                                        <c:SiteFooter />

  </apex:insert>
</apex:page>
Template Based Page
<apex:page title="Big Cloud Realty" showHeader="false” controller="NewsController">

    <apex:composition template="{!$Site.template}">
        <apex:define name="mainContent">

               <apex:outputPanel layout=“block” styleclass="block”>
                   <apex:outputPanel layout=“block” styleclass="blockTitle">
                       <apex:outputPanel class="blue">Latest</apex:outputPanel> News
                   </apex:outputPanel >
                   <apex:outputPanel layout=“block” styleclass="blockBody" >
                       The following are our most recent news stories.<p/>
                       <apex:repeat value="{!newsItems}" var="newsItem">
                           <b>{!newsItem.Name}</b> - {!newsItem.DateText c}<br/>
                           {!newsItem.Body c}
                       </apex:repeat>
                   </apex:outputPanel >
               </apex:outputPanel >

        </apex:define>
    </apex:composition>

</apex:page>
Security Model

  Each site has it’s own special security
    profile Within this profile you can enable:
     IP address filters to restrict access to site
     Access to specific Visualforce pages and Apex classes
     Read, Create, Edit, Delete permissions for each object
     Visibility and read/write permissions for each field

  A boilerplate “unauthorized” error page is provided -
   you can modify or override this
Customer Portal Support
                                                     Name:



                                                     Pass::




  A Site can be mapped to a Customer
    Portal Self-registration is available
  Site visitors can login and execute Visualforce
   pages under their individual user’s context
  Example registration/login pages are provided
Demo
Caching
   To increase end user performance, Sites uses a
    content delivery network of 40,000 servers
    distributed across the globe
   Content is served from servers closest to the
    origin of the request
   What’s cached:
   – Static resources with cache control set to public

   – Visualforce pages with pages attribute:
Robots.txt and Favicon Support
   Robots.txt is used to control how robots crawl
    your site

   Favicon is a website icon that most modern
    browsers support
   Sites supports these types of files:
   – Create Robots.txt as a Visualforce page
   – Create Favicon.ico as a Static Resource
URL Mapping
 Sites fully supports custom domain names, eg:
       http://www.mycompany.com *
 Steps to set this up:
    Register your domain name with any registrar Enter a CNAME record into
    the DNS that aliases www.mycompany.com to mycompany.force.com Tell
    Sites what your custom domain name is

 SSL is supported via secure.force.com only
 Tip: Don’t use fully-qualified domain names in your
  pages
        * Supported in production only, not developer edition or sandbox
Live Examples of Sites




        http://developer.force.com/sitesgallery
Get Started Today

   Sign up for a developer edition organization at
    http://developer.force.com
   Start Building
   Leverage the community at developerforce
Reference

   http://wiki.developerforce.com/page/Tech_Talk
    :_Force.com_Sites
Thank You
Thushara M. Samaradiwakara
tmdiwakara@gmail.com

More Related Content

Recently uploaded

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 

Recently uploaded (20)

Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

Featured

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

Featured (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

Force.com sites sri lanka salesforce user group meetup

  • 1. Force.com Sites Preview Thushara M. Samaradiwakara tmdiwakara@gmail.com
  • 4. The R eal-Time C loud Unlim ited Real- Program m abl Program m able Real-Tim e Real-Tim e Tim e e User Cloud Logic Workflow Web Sit es Cust om izat ion Int erface & Approvals Real-Tim e Web Sit es Real-Tim e Int egrat ed Real-Tim e Granular 750+ Mobile Cont ent Library Analyt ics Securit y & Int egrat ed Deploym ent Sharing Applicat ions Real-Tim e Transparent ISO 27001 Proven Proven, Real-Tim e Query Syst em St at us Cert ified Securit y Reliabilit y Real-Tim e Opt im izer Scalabilit y Real-Tim e Proven Real-Tim e Salesforce t o 3 Global Dat a Upgrades Real-Tim e Sandbox Salesforce Cent ers Int egrat ion Environm ent s & Disast er Recovery Mult it enant Kernel
  • 5. ” Salesforce.com will change forever t he way t hat businesses build websit es.
  • 6. What K ind of Sites did they build? E-com m erce Public Knowledge Base Public Web Apps Marketing Sites Case Subm ission Com m unity Sites Sales Sites Custom er Portals Custom Sites
  • 7. How It Works WWW B uild D es ig n Name Us e Your Data In Force.com The Perfect UI With With a CNAME Any URL Alias You r Site In Ou r Clou d
  • 8.
  • 10. Site Templates & Components Using Components Using Templates Page 1 Page 2 Component A Component A  Assign a default template at the site level  Reference that default template with expression: {!$Site.Template}
  • 11. Site Template Structure <apex:page showHeader="false" id="SiteTemplate"> <apex:insert name="header”> <c:SiteHeader /> </apex:insert> <apex:page …> <apex:insert name=””mainContent"/> …. </apex:page> <apex:insert name=”footer”> <c:SiteFooter /> </apex:insert> </apex:page>
  • 12. Template Based Page <apex:page title="Big Cloud Realty" showHeader="false” controller="NewsController"> <apex:composition template="{!$Site.template}"> <apex:define name="mainContent"> <apex:outputPanel layout=“block” styleclass="block”> <apex:outputPanel layout=“block” styleclass="blockTitle"> <apex:outputPanel class="blue">Latest</apex:outputPanel> News </apex:outputPanel > <apex:outputPanel layout=“block” styleclass="blockBody" > The following are our most recent news stories.<p/> <apex:repeat value="{!newsItems}" var="newsItem"> <b>{!newsItem.Name}</b> - {!newsItem.DateText c}<br/> {!newsItem.Body c} </apex:repeat> </apex:outputPanel > </apex:outputPanel > </apex:define> </apex:composition> </apex:page>
  • 13. Security Model  Each site has it’s own special security profile Within this profile you can enable: IP address filters to restrict access to site Access to specific Visualforce pages and Apex classes Read, Create, Edit, Delete permissions for each object Visibility and read/write permissions for each field  A boilerplate “unauthorized” error page is provided - you can modify or override this
  • 14. Customer Portal Support Name: Pass::  A Site can be mapped to a Customer Portal Self-registration is available  Site visitors can login and execute Visualforce pages under their individual user’s context  Example registration/login pages are provided
  • 15. Demo
  • 16. Caching  To increase end user performance, Sites uses a content delivery network of 40,000 servers distributed across the globe  Content is served from servers closest to the origin of the request  What’s cached: – Static resources with cache control set to public – Visualforce pages with pages attribute:
  • 17. Robots.txt and Favicon Support  Robots.txt is used to control how robots crawl your site  Favicon is a website icon that most modern browsers support  Sites supports these types of files: – Create Robots.txt as a Visualforce page – Create Favicon.ico as a Static Resource
  • 18. URL Mapping  Sites fully supports custom domain names, eg: http://www.mycompany.com *  Steps to set this up: Register your domain name with any registrar Enter a CNAME record into the DNS that aliases www.mycompany.com to mycompany.force.com Tell Sites what your custom domain name is  SSL is supported via secure.force.com only  Tip: Don’t use fully-qualified domain names in your pages * Supported in production only, not developer edition or sandbox
  • 19. Live Examples of Sites http://developer.force.com/sitesgallery
  • 20. Get Started Today  Sign up for a developer edition organization at http://developer.force.com  Start Building  Leverage the community at developerforce
  • 21. Reference  http://wiki.developerforce.com/page/Tech_Talk :_Force.com_Sites
  • 22. Thank You Thushara M. Samaradiwakara tmdiwakara@gmail.com

Editor's Notes

  1. http://www.ideastorm.com/http://www.dellchallenge.org/http://mystarbucksidea.force.com/http://www.starbucks.com/