SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Kürzlich hochgeladen

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
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
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
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...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

Empfohlen

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
Kurio // The Social Media Age(ncy)
 

Empfohlen (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

Hinweis der Redaktion

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