Download - Force.com sites Overview Deck

Transcript
Page 1: Force.com sites Overview Deck

Force.com Sites

Page 2: Force.com sites Overview Deck

About Me

• CTO of BrightGen

• 5 years Force.com

• Salesforce Certified Everything

• Force.com MVP

Page 3: Force.com sites Overview Deck

Overview

• Web sites on Force.com

• < 100% uptime

• Maintenance page

Page 4: Force.com sites Overview Deck

Overview

• Visualforce

• No CMS

• App exchange / knowledge articles

Page 5: Force.com sites Overview Deck

Overview

• HTTP/S

• Public or private

• Restrict by IP

Page 6: Force.com sites Overview Deck

Caching

• Akamai Edge CDN

• Page default = 10 minutes

• Production and public only

Page 7: Force.com sites Overview Deck

Caching

• Resource default = 24 hours

• Timestamp in URL

• Always use $Resource..

Page 8: Force.com sites Overview Deck

Guest User Profile

• All public access

• Not visible from profiles

• No access = login page

Page 9: Force.com sites Overview Deck

Guest User Profile

• Not deployable

• Use permission sets

• Page = all components + classes

Page 10: Force.com sites Overview Deck

Guest User Profile

• Restricted login ip

• Restricted login hours

• Both enforce SSL

Page 11: Force.com sites Overview Deck

Debugging

• Preview as admin

• Debug log

– Requires guest user name

Page 12: Force.com sites Overview Deck

Guest User Name

• Public Access settings -> View Users

• Winter 14: Advanced Setup Search– Enable– Type ‘Guest’– Hit return

Page 13: Force.com sites Overview Deck

Limits - Obvious

• Bandwidth

• Service request time

• Page views

Page 14: Force.com sites Overview Deck

Limits – Non-obvious

• Everyone is the same user!

• Query cursors / locators

• Long running requests

Page 15: Force.com sites Overview Deck

Domains

• Choose domain– brightgen

• Custom URLS:– http://brightgen.force.com– https://brightgen.secure.force.com

Page 16: Force.com sites Overview Deck

Domains

• Custom domain– http://www.brightgen.com

• Not supported for SSL– Unless you are activision!

https://support.activision.com

Page 17: Force.com sites Overview Deck

Communities

• Each community includes a site

• Public pages – landing

• Login to community

Page 18: Force.com sites Overview Deck

Uses

• Personal / corporate web site– http://www.brightgen.com– http://www.bobbuzzard.org– http://tests.bobbuzzard.org

• Web to case/lead/other– http://bobbuzz.me.uk/HKsb0N

Page 19: Force.com sites Overview Deck

Uses

• (HTML5) web application– http://bobbuzz.me.uk/15Mb7RP

• Public Knowledge Base– http://gumtree.force.com/Help

• Janrain login page

Page 20: Force.com sites Overview Deck

Uses

• Remote start phonegap

• Public WS Api

• Public REST Api

Page 21: Force.com sites Overview Deck

Uses

• Portal user oauth:– http://bobbuzz.me.uk/1bm0oLO

• Many other uses:– http://developer.force.com/sitesgallery

Page 22: Force.com sites Overview Deck

Q&A