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 (1)

4
votes
1answer
23 views

URL Masking our site.force.com URL with our Corporate Branded URL?

We have a ligthning community created using Community Builder. We are trying to mask the URL (https://unfriendlyUrl.force.com/path) with our own corporate URL (https://community.corpsite.com). I ...
1
vote
1answer
12 views

Error During Ant Migration of Community Site. Error: In field: Name - no Network named X found

I am using the ANT Force.com Migration Tool to deploy a Lightning Community Builder based Community from our Dev Org to our Production Org. I have received various errors related to fields, apex ...
1
vote
0answers
19 views

Anonymous access to REST API - without using Sites?

I'm looking for a way to enable public/anonymous access to my REST API developed using APEX without using Sites. The reason for this is that Sites is only available in Enterprise and not in ...
0
votes
0answers
7 views

Which platform features are available when using Authenticated Sites

Which platform features are available when using Authenticated Sites ? Are Approval Processes and Flows available ? Can we create approval processes on Custom Objects ? Are Authenticated Sites same as ...
0
votes
2answers
22 views

Can someone please explain page views on force.com

Can someone please breakdown for me what "Warning: Page Views Are at 90% of Your Limit" means. It seems our force.com (community) are causing this us to reach our limit of 500,000 a month. I'm not ...
0
votes
1answer
27 views

Expose Site context via REST with Community Guest User Access

Having a community site and planning to build mobile apps. Is it possible to have the guest user authentication from a mobile client? Below are the concern. Community user registration need to be ...
6
votes
2answers
70 views

What impact does the Account ID argument to Site.createPortalUser have?

The Site.createPortalUser call requires an Account ID to be specified. But what impact does that Account ID have on the access rights of the User that is created? (I haven't managed to find any ...
2
votes
1answer
27 views

Use Lightning App in Sites

I have created a visualforce page that uses lightning out to display a lightning app. It works fine when viewed using the preview button in the developer console, however I am trying to display the ...
1
vote
2answers
26 views

E-Commerce website in salesforce in developer org

Hi I want to start with my small ecommerce website. I am going to use developer org. As my cost for development is low. I know the limitation of salesforce like size, object limitations etc.. This ...
1
vote
0answers
34 views

How to get the site link in saleforce

I'm planning to get the site link and use it in the Formula Custom Field. I have this code: HYPERLINK("/apex/eventregistration?id="+ Id ,"/apex/eventregistration?id="+ Id) But it links only the ...
-1
votes
1answer
21 views

Attachment not getting set on visualforce on salesforce sites

I have created a visualforce page which has attachment upload feature. The attachment gets uploaded under a custom object invoice. Now this page is accessible to internal users using tab and also ...
0
votes
0answers
5 views

Force.com Site callback security

I'm using a Site to listen to callbacks from an external API. I need to be able to call another class once the callback is received but I don't want to give the Site permissions to that class or the ...
2
votes
2answers
17 views

What's the procedure for setting up SalesForce to receive traffic from a custom URL?

I'm a DNS admin that needs to work with a marketing team to get traffic from a custom domain/URL directed into our Salesforce account. That is, traffic from custom.com should end up at ...
0
votes
0answers
20 views

Image Not Avialable on Site VF page from Case

I store images in a RichText Area on Cases. I am having guess users log into a site to view them. Works great in the sandbox but when I promote my code to production, I get Image Not Available. ...
0
votes
2answers
10 views

Feasibility Question for Public Sites

Just checking with folks here to understand whether the following idea is possible or not. The idea is to expose public Site (no login needed) with a file upload functionality. The end users can ...
1
vote
0answers
32 views

Integrate Bootstrap into existing community site's page css not fully working

I am trying to integrate bootstrap into an existing community site's page that was delivered by a vendor to our organization and some of the styling/layout on the page we would like to now change. In ...
0
votes
1answer
18 views

SiteRegisterController not handling duplicate Username

I am having some issues with the OOTB SiteRegistrationController and corresponding page. It works fine unless I try to register a new user with the same Username. In this case it errors with Your ...
3
votes
0answers
30 views

Site and Custom URL Limit

I am getting error when trying to add new custom URL for site:- ERROR:- "Site Customer can't be added because domains are limited to 50 sites". I can see Maximum no. of sites which can be created ...
3
votes
2answers
46 views

Site Guest User not allowed to make callout

I have exposed a Rest service method to public @RestResource(urlMapping='/webhook') global class Services { Private static String ACTION_PARAM = 'action'; Private static String ...
11
votes
2answers
210 views

Possible to use letsencrypt to generate certificates from a Salesforce CA Request?

https://letsencrypt.org/ is a Certificate Authority (CA) that provides free SSL Certs. I have a Domain in Salesforce that I'd like to get an SSL Certificate for, and I created a CA Signed Certificate ...
1
vote
1answer
43 views

Salesforce Site save new record

I have a visualforce page that has a user sign up for a newsletter. It inserts their information into a custom object "Individual" The page uses the Individual standard controller and a redirect ...
3
votes
1answer
42 views

Why does my SObject Checkbox field always return false in a VisualForce Page on a public site?

I have a VisualForce page that is displayed on a force.com public site and always evaluates a checkbox field on my SObject as false. In the following example, my SObject is Survey__c and my checkbox ...
4
votes
1answer
70 views

Visualforce site working on HTTP but not on HTTPS

I am facing a problem in making my visualforce page work on force.com(sites). Created a new visualforce page and it works fine when I click on preview button. Added the page to site.com and granted ...
0
votes
0answers
22 views

Visualforce site form for external user does not produce errors, but will not fill fields on existing contact

I have a form that I am trying to use for a follow volunteer sign up form wherein a contact can sign up to a volunteer, and then is sent another form to collet more detailed info. I am having an ...
0
votes
0answers
25 views

X.509 based authentication for Apex REST class on Force.com site

I'm trying to implement X.509 based authentication for an Apex REST service (an Apex REST class with a post method), which is exposed via a Force.com site. I have the public certificate from the ...
0
votes
1answer
22 views

Persist record instance and use it in multiple pages

I am creating a force.com site which will fetch a contact record after successful login (The contact is the person logging in). The site has many VF pages which will be using the contact record and ...
0
votes
2answers
31 views

Guest User requires authorization for sites - unsure of what debug code means!

When the Guest User for my account tries to submit a form it is told that authorization is required and they must login. When I set up a debug log for that user a bug logged with these details and I ...
0
votes
0answers
21 views

Site Guest User unable to submit forms via website

I'm having an issue with a Salesforce site. At some point the permissions got messed up, and outside site guests are no longer able to submit forms to be saved in Salesforce. When they click submit ...
1
vote
1answer
32 views

Redirecting a page on Force.comsites

I have created a VF page which is form to save account information. This page is visible to public and user with no logins can access it. I use this internally in my organization but I have plans to ...
4
votes
1answer
35 views

Why do force.com sites domains have secure in the domain and some don't?

In our production org, force.com sites have two endpoints listed https://<ourdomain>.secure.force.com http://<ourdomain>.force.com It seems that these URLs can be used interchangeably ...
1
vote
1answer
86 views

How to resolve is down for maintenance with Force.com sites

I created a Force.com site and linked a Visualforce page with it, but when I access the link I get down for maintenance error page. I am not sure how to get my visual force page instead of this error. ...
0
votes
0answers
30 views

Third party api integration with force.com Sites in Salesforce

I am building a online form using Site.com or sites in salesforce. I would like to integrate google maps and access some more third party api to display some information on the force.com site. Is it ...
0
votes
0answers
35 views

Site.login is returning null

please find my code below, here site.login is returning null page reference global without sharing class CommunitiesLoginController { public String password { get; set; } public String ...
0
votes
1answer
17 views

What's the default email sender address on a public force.com site?

Does anyone know how the default email sender address is determined when sending an email via Apex (SingleEmailMessage) from a public Force.com site without setting the organizationWideSenderId? ...
2
votes
1answer
38 views

jQuery datatables plugin not working in force.com site pages

I am using the jQuery datatables plugin in visualforce page to display list of contacts in a table. This is working fine for administrator. When open the same page using force.com site, page ...
2
votes
0answers
29 views

Exporting Production SFDC Site.com and importing to Sandbox

After the Winter '16 upgrade, all of our Koa template modifications have been erased as described in the release notes. Has anybody tried exporting their production site.com site and importing into a ...
1
vote
2answers
113 views

Site.createPortalUser() returning null in test context

I have a siteRegistrationController which is creating portal users as below: Registration Controller: public class SiteRegistrationController{ public void createPortalUser(){ //There is ...
0
votes
0answers
29 views

How to properly display article in community from Smart Link?

We use the Koa Community template to display articles from Knowledge. A pretty large majority of our articles have smart links to another published article. When you click on a smart link in the ...
1
vote
1answer
24 views

SOAP updateMeta operation for CustomSite

I wanna change the homepage of a Force.com Site using the Metadata API. Nothing fancy, so: I've prepared a new updateMetadata request, set fullName to the API name of the site, put indexPage to the ...
2
votes
0answers
144 views

Visualforce page redirect to same page not working for sites

When click on Visual force page button, the page redirect to same page with one parameter. Code snippet: public PageReference Button() { myHome= Page.home; ...
2
votes
2answers
33 views

Is there any standard method to lockout the user for certain time in salesforce sites

I went through the sites class and I did not find any standard method to Lockout User. Does any one know have come across this please share your thoughts.
2
votes
0answers
17 views

Bundle VF page with public sites in AppExchange Managed Package

We have a requirement for an AppExchange product. We plan to bundle the Salesforce functionality as managed package and some part of the requirements as a secure but public widget that can be ...
0
votes
0answers
20 views

User licenses for Force.com site

Considering that each user requires User license and Sites will be having lakhs of customers(users), wont it be too costly just for the licenses if we are going to provide registration/login facility ...
0
votes
0answers
13 views

Your request can not be treated. The site administrator is notified

Here i have four steps Self-registration process in my project.At Final step,if click submit button two times registration failed due to captcha and redirect to same page,at that time i fill 4th step ...
3
votes
1answer
133 views

How to maintain user username in Sites VF page once user logged in

I am storing user information (firstname,lastname,username,email,password) in custom object.If user enter valid username and password in login page then user redirect to home page with username as ...
0
votes
1answer
16 views

Display chatter new feed in custom site URL using salesforce

I have created custom page and display the chatter new feeds on successfully. i want to be display this custom page with chatter feeds separately. so i created custom site for this custom page but i ...
0
votes
2answers
47 views

Re-routing to Static Resources with Site's UrlRewriter resulting in 404

Our public website has some links to downloadable PDFs. We'd like to use "pretty" URLs, but for some reason we're getting a 404 error when using the Site's UrlRewriter. The resource itself is ...
5
votes
2answers
123 views

How to delete cookies in apex controller while clicking logout button on sites pages

I am using cookies to store user information on sites page using below logic.I am setting cookies when user logged in successfully on sites page Cookie oktauserpwd = new ...
0
votes
0answers
7 views

Strange behaviour with Date formation on ics file for Site Guest User alone

I am facing a very strange problem with the date interpretation of the system on the ics file only for guest users. When i try sending an email with ics attachment as an admin on the same org, the ...
4
votes
1answer
113 views

Security concerns around site.login() StartURL parameter

I was reading An Insiders Guide to Security Review and on page 17, point 10 noticed something called Unvalidated Redirects and Forwards. The jist here is that user might be redirected to malicious ...