Stack Exchange Network

Stack Exchange network consists of 174 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.

0
votes
0answers
8 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
17 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
12 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
22 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
22 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
18 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
30 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
21 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
30 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
28 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
25 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
29 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
20 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
20 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
19 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
35 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
103 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 ...
2
votes
0answers
95 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
112 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
25 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
19 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
44 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
0answers
20 views

Salesforce snoozed resources [duplicate]

We have visualforce page that we store on the force.com site. It contains SOQL query with content for the visualforce and action with DML operation (insert Opportunity). On the first run: 1) SOQL ...
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
13 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
28 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
49 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
49 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
19 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
33 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
9 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
36 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
76 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 ...
0
votes
1answer
38 views

Use Salesforce Sites page in an iFrame on external site

I have a requirement to allow web-to-case form to upload attachments. Now, as per the docs there are two possible ways to do so: Implement Visualforce pages in Force.com Sites. Using Force.com web ...
0
votes
1answer
39 views

Getting error INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY for site guest user

I am updating the user object through site guest user, but i am getting the following error. INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, insufficient access rights on cross-reference id: Is ...
0
votes
1answer
42 views

Force.Com Sites Sandbox vs production SOQL not returning results

I have a vf page that displays queried results in a data table that works perfectly fine in my sandbox's force.com site. However, when I try to access it in production's force.com site it does not ...
0
votes
1answer
30 views

License for lightning/Force.com [closed]

I have a question on lightning. If I have a lightning App, should i need License? In Sales force, Assume that I create a web page which is public and million users are viewing my page or using my ...
0
votes
1answer
96 views

Fields Not visible in force.com Sites

I have gone through all the process of creating Force.com Sites and assigned my Visualforce page to site landing page. Am displaying the Account fields in VF Page as form input, Problem is only ...
0
votes
1answer
62 views

I have implemented salesforce live agent and want to use this from external website. What things i need to share with external party

I have implemented salesforce live agent but i want to use this live chat in external sites not FORCE.COM sites. What components so i need to share with external party?
0
votes
1answer
28 views

Custom community displays error page “URL no longer exist”

I have created a community with URL https://abc-developer-edition.ap5.force.com and is in active status. But the URL https://mcdcommunity-developer-edition.ap5.force.com/s/ is showing as URL No Longer ...
0
votes
1answer
24 views

How to view name and profile of site guest user

I have sites in my Salesforce org. How do I view the name and profile of the giest user?
0
votes
1answer
112 views

How can we cover code in test class under Site.createPortalUser? [duplicate]

Our class code looks like this: String userId = Site.createPortalUser(u, accountId, password); if (userId != null) { if (password != null && password.length() > 1) { ...
0
votes
0answers
23 views

Getting this error Refused to display 'https://unitymed-developer-edition.ap4.force.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'

i am getting this error .this occurs when i try to change right frame url in my domain. for right frame url ,i am using site which uses a vf page to display an image in right frame when i login. ...
0
votes
1answer
35 views

Translation in public site for Guest User

In salesforce public site I have to provide 3 links for translations (let's say Eng/Fin/Swe) and when user click into it i want to translate the whole page accordingly. As in public site, page context ...
0
votes
1answer
28 views

Salesforce community does not ask authorization

I have created community and want to set Visualforce Page as default home page. When I set as Community home Community builder page (main) and go to the community URL, it asks me to log in , but ...
0
votes
1answer
24 views

Cant we setup lightning page for site home page?

Can we add lightning page in Active Site Home Page while setup sites? Please find image for more details. What about communities. is there any Salesforce documentation for this ?