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
6 views

Can A Static Resource Be Accessed From Site?

Pretty simple question. I have a VisualForce Page on which I have the following line: <apex:stylesheet value="{!URLFOR($Resource.MyStyleSheet)}" /> When I access this page via a SiteIt's not ...
1
vote
1answer
16 views

Login Flows: skip some users and page customisation

i have setup a login flow which works when a user meets the criteria to go through the whole flow. what i cannot do is exclude a subset of users from the start of the flow. this solution seems to take ...
-2
votes
0answers
22 views

How to write a test code for the following Apex code? The code are given below [on hold]

public with sharing class RollUp_Controller { List<SelectOption> RollUpFields = new List<SelectOption>(); List<SelectOption> RollUpReferenceFields = new ...
1
vote
1answer
16 views

Email Alert Fails with Sites User “INSUFFICIENT_ACCESS_OR_READONLY, user does not have access to use approval assignment email template: []”

Question Is there anyway to get workflow email alerts to work when sent based on an action from a Sites user? Background We have an integration that pushes records into our system via a force.com ...
2
votes
1answer
34 views

Best practice for developing large number of webpages on Site.com or Force.com Sites?

We have a requirement to build around 50K pages consuming 60GB of space. What would be the best approach, Site.com or Force.com Sites?
0
votes
0answers
19 views

Site.createPortalUser error: DML operation on setup object is not permitted

A simple call to createPortalUser is failing: public pageReference registerUser() { try{ // values come from a VF page String username = email; String communityNickname = ...
1
vote
2answers
13 views

user authentication authorization community cloud force.com sites

How does user management (authentication / authorization) work when we expose a visualforce page and apex code including controller etc. to community users using public sites, force.com sites.
1
vote
0answers
27 views

user type as guest after log in to Site

Even if I am logging in to site with custom user profile, its logging in with Guest user. I have enabled login and registration in site settings. Any help/suggestion is greatly appreciated. /* An ...
3
votes
2answers
45 views

Need users to be able to add extra input fields on visualforce page

I have a visualforce page with a table in it with three lines that the user can fill in... it seems now that 3 lines is not enough, some users wanting up to ten. I do not want to add ten lines if I ...
0
votes
1answer
24 views

Can I render force.com page template based on a url parameter?

Using a force.com site - Is there a way to select the visualforce page template using a URL parameter? Use case: Our business partners want to send their clients to a co-branded page - including ...
5
votes
0answers
31 views

Can't create site in trial Enterprise Edition?

A few days into our trial of non-profit (NPSP) EE, I'm trying to test public-facing web pages that don't require login, crucial for our applications. It actually lets me reserve my (sub-) domain, but ...
1
vote
1answer
32 views

How do I implement Google Adwords tracking on a Force.com Site?

I have a Newsletter signup form exposed through a Force.com site on a wordpress site. I was just looking to implement Google adwords tracking when someone signsup. And I found this through a blog - ...
0
votes
1answer
18 views

Force.com Sites, how do I get login credentials for a page

I have created a visualforce page for a force.com site. I want to have authentication using the standard force.com sitelogin visualforce page. What credentials are used to get into the site? I want ...
4
votes
0answers
18 views

How can I see cache hits. force.com site with PKB and url rewriter

We are hitting > 1million page views a month so I began looking at ways to reduce it. I found that we had explicitly set cache=false on the 3 main pages. A month ago I set this to cache=true with a ...
3
votes
1answer
42 views

Expose Lightning App via Sites (and embed via Canvas)

I have a Lightning app, that I would like to embed in another Salesforce org via Canvas Connected App. It's not a problem with Visualforce pages, but Lightning apps are no option in the "Active Site ...
0
votes
0answers
24 views

Force.com site Guest User unable to access events

I am having hard trying to give access for the Force.com site Guest user to all contact events in the org. When the contact is assigned to the Guest User, he does have access to his events. But if ...
5
votes
1answer
64 views

Why does a lookup to custom object on sites give invalid ID?

I am developing an internal site for all company employees (basically an intranet). I am using a visualforce page but it must be externally available because not all company employees have a ...
1
vote
2answers
37 views

hybrid remote app with customer portal reset password issue

I have a hybrid remote app that uses a custom login page to authenticate through customer portal and land on a custom VF page. This works fine, however if the user resets their password they get stuck ...
2
votes
1answer
36 views

What is problematic about this approach for a Managed Package to provide subscriber orgs with the ability to modify our Visualforce styles?

We have a Managed Package that works with the Community product and so has a site template. The components and controllers for the template are going to be marked Global to allow clients to create ...
0
votes
0answers
24 views

Issues on integrating with Salesforce Site

Our implementation includes integration from an external server which tries to make a HTTPs request to a Visualforce page hosted on a site in salesforce.This requests includes certain header ...
0
votes
0answers
25 views

Re-login issue with salesforce sites in the same browser (multiple tabs)

I have an issue when the user logged in to the site and when tries to login again from another tab in the same browser, it gives an error. This doesn't show any debug logs errors. URL before login ...
1
vote
1answer
29 views

How to identify the change in user or user type in Force.com site page

There is any possibility to identify change in logged in user from Portal/Community User type to Site User type. Scenario is portal user being forced logged out through apex based on some logic but in ...
0
votes
1answer
18 views

SingleEmailMessage with public sites user throwing error

is anyone using a public site and sending an email with this public sites user through an apex class with the SingleEmailMessage Method. It always worked very well but since some time i get the error ...
1
vote
1answer
22 views

unable to modify Sites domain name

I'm in our production instance and on the Sites main page, where I want to modify our force.com domain. Right now, it is set to: http://free-12415f14c3a-124e539428a-12a1ad6480d.force.com The ...
0
votes
0answers
7 views

Search Customer Portal Page Text (custom labels)

I have global search set up in my portal working largely as planned. However, I have a requirement to return "Site Map" style information in the search results, so if a user searched for "Contact us" ...
0
votes
1answer
24 views

Implement Salesforce Content Search in Salesforce Sites

Within Salesforce on the Content Tab there is a search function that allows you to search within documents rather than just on titles. After much googling I haven't been able to find an example of how ...
2
votes
1answer
45 views

Show different banner based on user profile

I have two different banners used on my community site, one for internal users and one for external users. I would like users to see the banner corresponding to their user profile type. Could I make ...
0
votes
1answer
23 views

Force.com site to show VisualForce page with login

First of all, I'm new in SalesForce developing. I've created a developer account and created a VisualForce page that looks up for a contact matching a giving query parameter value. Everything works ...
0
votes
0answers
33 views

getContent Returns null inside web service if “Guest User”

We have a implementation where we generate pdf as per this guidance. Everything works fine in sandbox. We use our public web site to expose our RestResource. We have only one user with "Guest ...
0
votes
1answer
43 views

Use of Custom Object to authenticate Users

We have public website built with Salesforce. Public(guest) users can view the images and short description of products. To view price, they need to register and login to website. So, for this if we ...
1
vote
1answer
81 views

Customizing layout of community with Salesforce tab + Visualforce template

I am using Salesforce tab + Visualforce template in my community. Is there any way to customize the layout? I know how to customize the branding but it is not enough. For example we do not want our ...
2
votes
1answer
58 views

Can we configure SSL certificate for Customer Communities

We have a customer community in Salesforce, where user can login with their username/password. We would like to map our custom domain and secure SSL certificate on the site. I found few article which ...
2
votes
1answer
91 views

Problem using analytics:reportChart in Force.com site

I've created a VF page to display a standart chart. The page is working fine from within SF. When trying to open the page from Force.com site I get the following error: Error while running ...
0
votes
0answers
34 views

Public voting for knowledge articles

Is it possible to capture more than one public vote for knowledge articles? I'm trying to expose Knowledge Articles through Sites.com and would like to be able to capture user ratings. While fiddling ...
1
vote
0answers
9 views

Include site name in KnowledgeArticleViewStat Report?

We have multiple sites that host FAQ/PKB pages that show Articles. Some of these Articles are displayed on one or more of the sites. It's possible to report on view stats using the ...
0
votes
1answer
58 views

Authorization required error on public site insert form custom object

Note: This is in continuation of previous Q: Why are Visualforce pages rendered empty on site? I get the following error : I have a custom object: Orders I have built a fisualforce for it, for ...
0
votes
0answers
37 views

How to get the session Id in site page using Ajax tool kit

I have a visualforce page in which I have used Ajax tool kit for search functionality. Its working fine in Vf page. But when I rendered the page Using Sites Iam unable to get sessionId. How can I get ...
0
votes
2answers
57 views

Why are Visualforce pages rendered empty on site?

I have a Visualforce page. While developing, and in /apex/ , it looks fine (still in development) corresponding code is: <apex:page showHeader="false" sidebar="false" ...
1
vote
1answer
37 views

Using standard edit pages in Force.com Sites

I want to create a form which is available externally, and allow unauthenticated users to create records. Is there a way to use standard edit pages in a Force.com site, or can you only display VF ...
1
vote
0answers
85 views

PKB Knowledge Articles in Customer Portal

I am using the PKB app (app exchange link) to get a simple knowledge base up and running in the context of both an authenticated (via customer portal) and unauthenticated site, but the site looks ...
0
votes
1answer
16 views

Redirecting to some page when user hits site domain

My site domain is suppose xyz.cs8.force.com now i want that whenever user hits this url he should be automatically redirected to xyz.cs8.force.com/Sitelogin which is the URL of my one custom site ...
0
votes
2answers
138 views

redirect to vf page after site login

After logging in to site its again redirecting to login page. SiteLoginController code is as below global with sharing class SiteLoginController { global String username {get; set;} global ...
0
votes
0answers
71 views

system.security.noaccessexception

I have visual force page that guest users have access to. I pass the contact information, the user completes the form and then the contact information should get updated. I had no problems in test. ...
0
votes
1answer
254 views

Confusing Force.com Sites Certification Question

Which statement is true regarding Force.com sites? Choose 3 1 Sites can leverage declarative page layouts as web pages 2 Sites enables developers to build public, unauthenticated websites 3 ...
0
votes
0answers
16 views

Adding Case Custom Fields to Communities with Community Designer

I've set up communities with the normal tabbed layout before, and I thought I would have a go with the shiny new Community Designer. But I'm struggling to get past the first steps... All I want to do ...
0
votes
0answers
44 views

Determine country of Sites Guest User (Anonymous user)

We have a site built on Communities and Force.com sites. What's the best way of determining which country a guest / anonymous user came from on a Force.com sites page? For registered users, we can ...
1
vote
3answers
95 views

Update Contact Object Using Guest Site User

As Salesforce suggested These guest user site profiles are associated to guest user licenses which give the ability to only read/create on standard objects and not update. Is there any workaround to ...
0
votes
0answers
60 views

SSL with custom domain in Force.com Site

I have a force.com site that runs on custom domain. I have added CA signed certificate for custom domain in my Certificate and Key Management. But the site runs only in http mode, i want to run on ...
0
votes
0answers
21 views

Help with page views

To reduce pageviews, we are identifying resources on our Force.com site and hosting them external to Salesforce. We received a list of the top URLs gathering pageviews, and there are a few resources ...
0
votes
1answer
21 views

How can I use site field in an email template?

I'm trying to add Site Fields into my Email Template, but in the mail these fields are blank. I tried adding this into my Email Template: <br/>tld: {!Site.TopLevelDomain} <br/>upp: ...