Force.com Sites technology is used to build public facing websites that run on the Force.com platform. The pages of a Force.com Site are built with Visualforce. Force.com Sites is one of the two Salesforce technologies, Site.com being the other, for constructing public facing websites.

learn more… | top users | synonyms

2
votes
1answer
14 views

Integrating Salesforce with Wordpress using Force.com Sites

I'm using Force.com sites to integrate Wordpress and Salesforce. I've created a VF page called Subscriber with information like Name, Email, Zip. I've added this into an iframe in a Wordpress site. I ...
0
votes
0answers
6 views

When are licences consumed when using Site.createPortalUser?

The Site.createPortalUser call (see the Site class) creates the User object when it is called with the correct parameters. Am I correct in assuming that the underlying license is only consumed when ...
1
vote
1answer
20 views

“View All Users” permission for anonymous Sites profile not visible

We see some odd differences (possibly just since the last release) in the "Administrative Permissions" section of the user profile for a Sites anonymous user (Setup > Develop > Sites > [your site] > ...
0
votes
1answer
14 views

List View doesn't show link in Site

I have created a Force.com site in my org and want to display the standard Contact List View page. I am having the problem that although the user can directly access the Contacts by pasting the link, ...
2
votes
1answer
68 views

Visualforce Page Force.com Sites - Language Translation - How?

I have a force.com site with many Visualforce pages in it. I want to convert those pages into different languages (Ex: Spanish) based on the Locale of the user who has logged in. Our force.com ...
1
vote
1answer
26 views

How to customize Site Template to take feedback from users of force.site

I am new to force.com site development and Template development so please provide me suggestions for below requirement. I have created on force.com site with one home page. This page is used to ...
2
votes
3answers
30 views

EmailMessage Insert from an Authenticated Force.com Site VF Page throws INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY

I am building a typical help site where there are a lot of unauthenticated pages that the user can view like product catalog, help guides ...etc and couple of authenticated pages (My Cases, Case ...
2
votes
1answer
24 views

Can you use Javascript Remoting in a public (unauthenticated) Force.com site

I would like to use Javascript remoting, on a public unauthenticated site. Does Force.com let you do this? I am assuming yes, and it is the same as VisualForce doing the rendering.
11
votes
1answer
159 views

CSRF (Cross-Site Request Forgery) in Visualforce Pages on Public Force.com Sites

Background On one of our public Salesforce Sites (Force.com Site) we allow users to create or/and update contacts "within" salesforce. To do so I'm using <apex:form>. In case Javascript is ...
2
votes
2answers
96 views

Can we use apex and visualforce pages with Site.com?

Recently, I worked on a custom development where I used Force.com sites to enable access to some visualforce pages to end users without any authentication. For designing the VF pages, I used Bootstrap ...
1
vote
2answers
34 views

visual workflow: country list dropdown

I am building a Visual workflow where one of the fields is a drop down for the user to select a country. Is there a way to bring the list of all the countries in the world via Dynamic Choice? or do I ...
3
votes
1answer
33 views

Cannot Get Custom Quick Action to the src folder using eclipse

I have created two object-specific Actions on my Custom Object, I was trying to sync over the new quick actions that I have created to my src code using eclipse and force.com plugin. I can see those ...
2
votes
1answer
52 views

Setting public sites to display vf pages

I have a vf page which I want my public site to display. The problem here is when I open the page it gives me "Authorization Required" error. Now before you go ahead and vote down this question, ...
1
vote
0answers
21 views

Customized change password page is not displaying in force.com site which is enabled for the customer portal

I am using Custom Change Password page for Force.com site. For that site we enabled Customer portal. And we are using High volume customer Portal licenses for the User. Once we click on forgot ...
3
votes
1answer
43 views

Can Force.com Sites 301 Redirects handle open ended parameters?

I am looking to map some of the Salesforce Chatter pages that automatically get surfaced in the Community and redirect them back to a Home page to prevent some of the standard pages from being ...
0
votes
0answers
10 views

Sites page controller untouched on repeat load; trying to prevent duplicate submission

I have created a Sites page form to accept unauthenticated input/submissions that are then associated to existing records. We provide a link to the form with an identifying parameter, which, when ...
3
votes
0answers
32 views

Encrypt a Visualforce URL Param

I have a VF page that I pass in parameters to such as Contact Id. As such, I don't want people clicking the links to see the actual Id since that doesn't seem very secure. So I build a simple ...
1
vote
0answers
28 views

Update access denied for Account : Site.createPortalUser

I have configured Customer community where the landing pages of the active site is a VF page. As part of the VF page, i'm collecting accounts and Contact details. While users clicks a button, I will ...
1
vote
1answer
32 views

Site Guest User should change Language

i´ve just created a Site in Salesforce. This Site shows my Survey visualforce. What i want to have is a dropdown on the top right site where the Site guest user can change the language of the survey. ...
4
votes
1answer
107 views

Authenticated Website licenses obsolete?

I have a customer who has a large volume of Authenticated Website licenses, which are used to do custom Sites logins to a fully custom website. They have been told by their sales rep that Salesforce ...
6
votes
1answer
74 views

How to guard a FeedItem insert when code is executing in a Force.com Site?

I have some code that is used both through a normally licensed user and through a "Site Guest User" for a public Force.com Site. I am aware that for the latter type of User Chatter capabilities are ...
3
votes
2answers
50 views

Could web crawlers reach my sandbox force.com sites?

How about sites on a dev org or partner edition orgs?
4
votes
1answer
111 views

Will salesforce notify when about failed emails when TLS is unavailable?

We have enabled email relay in our organization. Recently our security team performed a scan of our salesforce instance and has asked us to change the TLS (Transport Layer Security) setting. Earlier ...
0
votes
0answers
85 views

Visualforce page action method does not get invoked in force.com site

I am using a method is page's "action" attribute. When I am testing this by login into salesforce, it's working fine. But when I used this page on Force.com sites, the action method didn't execute ...
3
votes
1answer
36 views

Salesforce1 for unauthenticated Site pages?

I need to provide a better mobile interface for unauthenticated Site users, but am getting the error that authentication is required when I try to give them access to Salesforce1 via the browser using ...
3
votes
1answer
81 views

What can be done with SSL + Communities + Force.com Site + Branded Domain

I'm getting mixed messages online regarding SSL support for a Force.com site that is branded with a custom URL domain: These two articles, Registering a Custom Force.com Domina and Registering a ...
6
votes
2answers
369 views

How do I open up a public REST API to JavaScript in any website?

I have set up a public Salesforce REST api as explained in this post. (i.e. I have set up a site that directs a user to the webservice and have given the public site user access to only those records ...
2
votes
1answer
53 views

Embedding PDF in VF site

I want to embed a pdf in a VF site. I'm using the "object, embed" method and that works fine for a VF page, however when attempting to make that page externally available via a site, the pdf is no ...
1
vote
1answer
69 views

GoDaddy Domain redirect to Force.com Site problem

I have created a force.com site and added a simple Hello World VF page to the site. I have a personal domain URL that I would like to point to the Force.com site. Below are the steps I followed but am ...
1
vote
1answer
138 views

Date picker on Force.com..?

I want to show a date-picker on a public site(Force.com site).I am updating Opportunity records using some variables from force.com site.But how to show a date field.. I have tried this its showing ...
0
votes
1answer
106 views

Input field on force.com sites..Update standard object from guest user force.com sites?

I want to show opportunity fields on Force.com and also update an opportunity from force.com sites.. When i am using apex:input fields the fields are not showing in input mode.When i use inputtext it ...
0
votes
2answers
42 views

CommandButton not working for Site Guest User

I have two pages and one controller all enabled for Site Guest Profile. On page A I have an apex:form with a commandButton; clicking on the button redirects to page B. All is working well for an ...
2
votes
0answers
80 views

Any Way to Enable Site Login Without Portals or Communities?

I have a public site/page that uses a visual workflow to create a task based on inputs. However, because guests do not have the permissions to create tasks or events - I need to figure out an ...
4
votes
1answer
49 views

apex:composition vs. apex:page

Let's say I have a "by-the-textbook" vf page, using apex:composition and a template: <apex:page docType="html-5.0" showHeader="false" sidebar="false" standardStylesheets="false" ...
2
votes
0answers
27 views

What is deleteSessionCookie.jsp?

I have a custom error page set up on my Community, and I use it to track analytics about when my community is crashing. Each time a user hits the error page, I track the page they were trying to ...
4
votes
1answer
118 views

Setting up a Public REST API

I found a different question asking, "Can I have a public APEX REST API?" which led to a blog post explaining how to setup a public site to expose a REST API: Create your REST API in Apex as normal ...
1
vote
1answer
80 views

Visualforce - Checkboxes not getting rendered on Public Site

This is my public site displaying list of records from a custom object. As you can see the delete input checkboxes are not getting rendered but they are rendered as expected within Salesforce. Can ...
3
votes
2answers
155 views

Guest User “Record Create Task” Permissions

Have researched and been working on this for a week with no avail. Really need any help in the right direction because I am so frustrated. I have a visual workflow that runs perfectly while in Setup ...
1
vote
1answer
306 views

How to Create Custom Sidebar in Visual force page?

Is it possible to create custom sidebar in visual force page? I want to have a sidebar similar to the one we see in Setup page. Like this!. Is there a way to do this?
5
votes
1answer
101 views

Point visualforce site to a domain

I need to access my public site from an existing domain . I have created cname records in godaddy but i am unable to access my public site. Domain name automatically redirecting me to my salesforce ...
1
vote
0answers
47 views

Get Force.com Domain from Apex

I'm looking for a way to get the registered Force.com domain from Apex. At the moment I just want to check if there is a domain or not. This is the domain you register once, when trying to create a ...
4
votes
1answer
43 views

Sites governor limit on unauthenticated users?

Are there any limits around how many simultaneous unauthenticated/anonymous/guest users can view a site at a given time? I could've sworn that there was a limit that meant there could only be 10 ...
1
vote
1answer
265 views

Help changing the Under Construction Visualforce Page for a Community's Force.com site

Situation is as follows... we have a Salesforce community located at say lumberco.force.com/trees so whenever a user accesses an invalid URL... say lumberco.force.com/tree they receive the Standard ...
0
votes
1answer
62 views

prevent backspace from going back in Sites

I have create a site for case creation,the case is created and show a success message when i hit backspace button its going back to orginal page.how can i prevent the user hit backspace button and ...
1
vote
1answer
35 views

Date and Time Field Issue in Sites

I have create a date and time fields in VF Page.It shows correct org time(Australia) in vf page but in Sites its showing different time. How can solve this issues. Please let me know what am I doing ...
1
vote
1answer
153 views

Accessing the AJAX API in a Community

I'm encountering a weird issue where a VF page in my Community fails to connect to the AJAX API. (I suspect this is a bug but don't have a great track record with SF support, so I'm hoping someone ...
5
votes
2answers
157 views

Distinguish HTTP from HTTPS in Force.com Sites

I'm developing on Force.com Sites, and having trouble distinguishing whether the current request is coming in on HTTP or HTTPS. Do you have any tips? ApexPages.CurrentPage().getUrl(); // ==> ...
0
votes
1answer
38 views

how to make site is public accessible without login

i have created a site with inquiry form which will be place in some other websites. It will create a case. it goes to unauthorized page. I have checked all the settings and made login not allowed ...
2
votes
1answer
61 views

Viewing and Inserting a Task from Force.com Site

The below VF page queries for a list of tasks assigned to a certain custom record. It works perfectly fine (shows 3 Tasks) when accessed by an internal user (/apex/siteTasks?id=xxx) while it does not ...
1
vote
2answers
120 views

Not covering the code coverage from following test case?

public with sharing class ChangePasswordController { public String oldPassword {get; set;} public String newPassword {get; set;} public String verifyNewPassword {get; set;} ...