Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [force.com-sites]

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.

1
vote
0answers
18 views

Apex class 'SiteLoginController' does not exist (scratch org)

I've created over 40 scratch orgs with the following config, without issues. { "orgName": "MyScratchOrg", "edition": "Developer", "features": ["Communities","PersonAccounts","SiteDotCom","...
0
votes
2answers
23 views

Why does my Test Site suddenly have a toolbar with search at the top?

Update: The global header removal on the profile system permissions helped part of it, but there is still a portion of the header that contains the "search" bar and the dark grey, now with a blue ...
0
votes
1answer
32 views

Pre-Populating fields on vf page based on ret URL

I have a vf page tied to a force.com site which is being used at different places on my company website like support FAQ page, new account request etc and I want to pre populate the subject field on ...
0
votes
1answer
22 views

Can JSForce be used in a public site without login?

I want to build a public Salesforce site where I can share my SF Accounts' details with the public without forcing them to login (I know this can be achieved with a controller/ JavaScript Remoting). ...
0
votes
1answer
9 views

Communities Enabled Breaks Our Site in “Force.com Sites”

Does anyone know why a Working Sites (VF) Solution using Guest Access would break when Communities is Enabled? Basically our home page is returning us a generic Error: "Authorization Required You ...
6
votes
0answers
42 views

Scratch Org Site Domain

We've got a public Site.com in our org. When converting and migrating from MDAPI to DX, I noticed even though all the components related to the site were converted and deployed, we still have to go ...
0
votes
1answer
35 views

Files related list on force.com site

I have a related list of files "AttachedContentDocuments" on a VF page (using the tag), which is accessed through a force.com site. This page works as expected for the logged in user. But when ...
0
votes
0answers
19 views

web.config file in Sites

We have some issues with the compatibilities in IE for a page in our Site. Something related to this. After to include the tag <meta http-equiv="X-UA-Compatible" content="IE=edge" /> in the ...
1
vote
0answers
29 views

Visualforce Page Force.com Site - Language Translation By Clicking on a “Change lang Button”

I have a force.com site which I would like to translate the fields name of a form when a button was clicked. What I did so far: I created a basic form I activated the Spanish translation and ...
1
vote
1answer
72 views

Force.com Sites - Lookup Access Error for Guest Site User

I have setup a Force.com Site with access to Visualforce page, however receive an error message when trying to use the Lookup fields on the page. Some troubleshooting I've done so far: Grant access ...
0
votes
0answers
25 views

Volunteers for Salesforce Attempt to de-reference a null object site functionality

I have been having this issue for a few days now and have no idea where else to look. I have implemented Volunteers for Salesforce for a client and so far it has worked...okay. The volunteer portal ...
0
votes
1answer
23 views

Public VisualForce site - Create standard object

I have a visualforce page that I have linked to a public salesforce site. The page contains a form intended to allow the user to create a standard object (Campaign to be specific). My issue is that ...
0
votes
1answer
39 views

Does anybody notice that the object permissions is not applied on public site guest profile?

I built VisualForce page with form to Insert and update account records, it works like a charm, but when I checked account object permission for guest profile, I found there's no read nor create ...
0
votes
0answers
17 views

Guest user CRUD permissions. Remove from Sandbox or Production as well?

On November 30, 2018,Salesforce discovered that guest user CRUD permissions in your Salesforce Sites and Communities could have potentially allowed unauthenticated guest users to retrieve information ...
0
votes
0answers
11 views

How can we include managed package code into a site template which is defined in customer org

We have a managed package with multiple VF pages and these pages are used on Sites. The problem that we are having is that these pages work only if they are placed within the site template which are ...
0
votes
0answers
21 views

Domain not available when creating custom urls in Salesforce Site

I am trying to create custom urls in Salesforce Site. While creating the same, the domain name is not appearing even if I search with the domain, it is not coming up. Basically I am trying to create ...
0
votes
0answers
17 views

Dependant picklist in VF Page with or without using apex controller [duplicate]

I have a custom object and it has two picklists. One of them is dependant on the other. I'm supposed to put these on a vf page. The issue I'm having is that the values of the secondary picklist are ...
1
vote
0answers
24 views

Anyone had a problem with a REST service exposed on a Site after an instance refresh

I have a REST service that I have exposed via a Site called public. It has a URL like this: https://company.secure.force.com/public/services/apexrest/my_service This service is use to receive ...
0
votes
0answers
34 views

Unable to get lightning look and feel for site users

I am using lightning Page in VF using lightning out.The page is added to sites.But when I open the page via link, It shows the components but Look and feel is not of lightning.
0
votes
2answers
34 views

Community Guest User able to create records without create permission

We ran into a scenario where a community (Salesforce Tabs + Visualforce) user opens multiple tabs and is logged out on one tab. When the user goes to another open tab and performs an action on a ...
1
vote
0answers
20 views

Help in Salesforce Site Custom URL setup

We are in the middle of launching a new VF Page site in our Salesforce instance. Site is working if we use the default Salesforce generated site url. (xx.cs.force.com). Now we are planning to use ...
1
vote
1answer
31 views

Product fields are not visible on site?

I have a page which displays the product family picklist. However, the picklist is not visible if I open the page from my site. I have given access to fields on Public Access settings but still its ...
0
votes
0answers
24 views

Permission issue about site and internal user

I have site and guest user is activated in there. In this case, for allowing records creation from guest user, I granted permission to site guest user profile. However, now I saw some weird situation....
0
votes
1answer
20 views

Are there any good resources to learn force.com sites? Like blogs, Video tutorials etc? [closed]

I need to learn force.com sites development. There are no trailheads as far as I know. So are there any blogs or video tutorials to help me learn this?
1
vote
1answer
33 views

How to access files in Public Sites?

I am using below query to get link for files [SELECT ContentDocumentId, LinkedEntityId FROM ContentDocumentLink where LinkedEntityId in (SELECT Id FROM Custom_Object__c where Parent__c != null)] ...
-1
votes
1answer
34 views

Using Merge-fields With force.com site to relate a form to a record [closed]

Project Build a form off salesforce that can be sent to clients to collect information. A user will Send an email off the account record containing a link to the form. The form will allow clients to ...
0
votes
1answer
30 views

Not able to access ContentDocumentLink on Site VF page's Controller(without sharing)

SOQL: [SELECT ContentDocumentId FROM ContentDocumentLink WHERE LinkedEntityId = {{reocrdID}}] OR SELECT Id, (SELECT ContentDocumentId FROM ContentDocumentLinks) FROM {{sObjectAPIName}} Where id = {{...
0
votes
1answer
43 views

How to add download functionality for related Files of a particular object record on custom VF Site page?

On Salesforce standard page for a particular record, all related Notes, Attachments and Files are shown under "Notes & Attachments section". I have a similar use case where, where on a VF site ...
2
votes
0answers
24 views

Can you set a quota of API calls for a User/Site?

We are using a public Site to receive webhooks from a number of different system. Some of which are payments systems, one of which is for mass email. On the email system, it's useful to receive ...
0
votes
1answer
22 views

Display VFpage content on Facebook [closed]

Is it possible to display the contents of a VFpage accessible on a public Site on to Facebook as a section?
0
votes
0answers
20 views

How to use the Site class outside of the context of 'Lightning Platform sites'

I am currently creating a webservice to integrate an external website to our salesforce instance. This webservice should create a new portal account user and return the id back to the calling code. I'...
0
votes
1answer
8 views

Site profile doesn't appear to have access to FirstName or LastName on Leads

I have created a public site to create Lead records. It seems as though the site's profile has access to the composite Name field but not the FirstName or LastName fields. Eg: //This doesn't Work ...
2
votes
1answer
37 views

Query for 'Enabled Visualforce Pages' on a Force.com site [closed]

EDIT: I couldn't get the MetadataAPI to agree with me in time to turn this in, as this is just supposed to be a quick page and not take long. Here's what I ended up doing: public List<ApexPage>...
1
vote
1answer
107 views

Set Up Vanity URL [closed]

I have been asked to set up a vanity url. Essentially, the force.com page should point to a more user friendly web address. There needs to be one for internal users and one for external users. I have ...
3
votes
0answers
161 views

Guest license users cannot access ContentDistribution object anymore?

I have a Site, where external, unauthenticated users can access some of the files we store in Salesforce. To achieve this, I use Content Distribution records, to obtain the public URLs for these files....
1
vote
1answer
199 views

sfdcIFrameOrigin parameter being added to Site url unnecessarily when using mobile

I have a Visualforce Page which is hosted on a Salesforce site. I am using a URL rewriter to make the URL into a friendly one. The page has a few parameters being passed into it (3 to be exact) and ...
0
votes
1answer
27 views

Execute REST Class via Site

I have a class with a single method that creates some account records and related opportunities. These records are clones from another environment that I JSON serialized and I want to execute the ...
1
vote
1answer
20 views

Community in a Sub-Directory

Situation Companies like IBM serve their community in a sub-directory https://www.ibm.com/mysupport/s/?language=en_US. However, the rest of IBM‘s Website is not based on Salesforce Communities. ...
0
votes
1answer
63 views

REST API apex - send and receive within a same class

I'm wondering, Is there an option to receive data with @HTTPGET --> Make some manipulation on this data --> Create new REST request and send it to different URL - On the same Class? Thanks
0
votes
1answer
28 views

Community Website Address

I have a Community named www.SampleCompany.force.com I also have a non-Salesforce website named www.SampleCompany.org that redirects to www.SampleCompany.force.com My goal is to have our ...
0
votes
1answer
15 views

Site domain not available for community

I have created a site that is mycompany.force.com that hosts a rather old public knowledge base. Now I want to make a community and the first step is to choose a domain. The problem is that mycompany....
0
votes
0answers
44 views

Lightning SLDS stylesheets on visualforce SITE

I have an issue with styling visualforce page that will be exposed as a site with lightning SLDS stylesheets. I'm using lightningStylesheets="true" on my page and if I preview it in salesforce ...
4
votes
1answer
65 views

Does the Platform Session Cache interpret multiple Site Guest User sessions separately?

I'm considering using a Platform Session Cache for User sessions on my force.com site. My question is: Does the Platform Session Cache interpret the "Force.com Site Guest User" as a single session, ...
-1
votes
1answer
76 views

Public Knowledge base for force.com site

A public Knowledge base to be created so that forec.com site visitors can view Knowledge Articles without any authentication as anonymous users and also vote for the articles. Is there any easiest ...
2
votes
1answer
22 views

What is the behavior if External Org-wide sharing model is disabled?

If you don't have External Org-Wide sharing models enabled, what is the default behavior for external user? Does it get the same value as whatever it the Org-Wide setting is? Or is it defaulted to ...
1
vote
0answers
67 views

How can I determine the active site homepage?

We've got a managed app that includes custom Visualforce pages that are exposed via a Force.com Site. We're working on a new version of this Site, that is basically a single page app running within a ...
0
votes
0answers
10 views

Redirect to site page from company website

Customer submit online application through our company website and at the end of the process users are redirected to a site page https://sandboxName-companyname.cs96.force.com/WebsiteAccess/...
1
vote
0answers
46 views

Getting parameter on 401 (Authorization Required) page Force.com site

We have public visualforce page that hosted on Force.com. It contains wizard with few steps. Sometimes we get an Authorization Required error on the steps. I want to store the fact of displaying ...
0
votes
1answer
120 views

Community shows blank page when it's deactivated

My community is showing a blank page instead of down for maintainence page when it's been deactivated .I have set the InMaintainence page(the standard page not the custom) in Inactive Site Home Page ...
0
votes
0answers
9 views

Why doesn't logout work with my site under a custom domain?

I have < mydomain >.force.com/< custompath > for my Site and want to switch to a custom domain I have redirects in place for /< custom path > ----> /< custom path > set up. In order to ...