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.
776
questions
0
votes
0answers
21 views
Illegal character VCHAR in request Header
We have an external system that sends us POST Requests.
The authentication method is using force.com public site with IP restriction.
The external system sends a POST request and got an error and we ...
2
votes
1answer
35 views
Spring21 Guest User don't Save from Site Visualforce page
I'm truly desperate, I have this situation:
After the Critical update Spring21 on Salesforce a guest user page don't save anymore.
What I have:
A Site with a A Visualforce page
A Guest user profile
A ...
0
votes
0answers
18 views
Not able to send emails as Site Guest users, using Messaging Class
The below code runs fine with Salesforce internal users, but throws an exception while run by Site Guest User.
List<Messaging.SingleEmailMessage > msgList = new List<Messaging....
0
votes
1answer
29 views
Community change email verification redirecting to home/home.jsp
We have a Site configured to display a Visualforce page for our community members.
However, when the the community user changes their email, they get an email to verify the change. We modified this ...
1
vote
1answer
46 views
Guest Users in Salesforce Community turned to Experience
We currently have several communities connected to our site domain, and one of the pages that we make publicly available is supposed to let end users edit a record when given a very specific link. ...
2
votes
0answers
42 views
Authentication on SFDC Sites?
We have a credit application form hosted on SFDC Sites. A sales rep creates the credit app record, which triggers an email to be sent to the prospective customer. A link in the email takes them to ...
0
votes
1answer
51 views
Cannot edit checkbox (input field in User site guest)
I have a User site guest which displays fields of an object
For example, if it's a checkbox
If I do
<apex: inputField value = "{! loggedC.Expression_rens_F1__c}" />
The checkbox ...
0
votes
2answers
106 views
Custom login functionality on a Site page
Trying to achieve: Custom login on our SF Public Site page for a sub-set of users within our org. to access a form. Submitting the data would update a Case record. Each form would be one-time ...
0
votes
0answers
21 views
Community Deployment using Metadata API & ExperienceBundles
We have deployed our community to a sandbox successfully with below components.
experiences
navigation menu
sites
Network branding
networks
Content assets
Profiles
Static resources
and other ...
0
votes
0answers
19 views
ReCaptcha issue with OutputPanel ReRender
I have a Google ReCaptcha component included in a visualforce page which I expose over a Force.com Site. the ReCaptcha functionality displays and works well. An issue occurs though if I place the ...
2
votes
0answers
29 views
How to setup a non-Salesforce host or service serves this domain over HTTPS using Salesforce Domains
Hello Everyone right now I have this configuration:
I want to use cloudflare's cdn stuff to serve up my salesforce community or visualforce page faster.
What goes in the external hostname field? I've ...
1
vote
0answers
32 views
Salesforce Sans font in <apex:slds> not rendering in iOS safari
I am using <apex:slds> in a VF page where I have been able to use the Salesforce Sans Light and Regular fonts in CSS styling and it works fine on computer browsers such as edge and chrome:
but ...
1
vote
1answer
75 views
Exposing an APEX REST endpoint to be called by Jira
Built an APEX REST endpoint that handles an inbound PUT operation to update records in an SObject (Time_Entry__c). I want to trigger the PUT from a Jira Automation with a web request whenever a ...
0
votes
1answer
40 views
Getting 'insufficient access rights on cross-reference id' error for guest user
I am exposing a service using a site but facing some issues with the guest user access for object records. While inserting a record, I am getting 'insufficient access rights on cross-reference id' ...
0
votes
0answers
14 views
can I use public site created with a community without community activation
I have a need to use just a few public pages. The community is coming in few months so I wonder if I can just create few public pages and not activate the community. It seems to work in sandbox.
Will ...
1
vote
0answers
49 views
File not showing preview when created by Force.com Site Guest User (i think after Summer '20 Release)
I saw that since Summer 20 changes to the rights of the Force.com Site have taken place (https://releasenotes.docs.salesforce.com/en-us/spring20/release-notes/rn_networks_guest_user.htm)
Currently I ...
0
votes
0answers
23 views
Site giving guest users a 401 error instead of a 404 if the url is more than one level deep
For our Site/Community, we want any incoming link that 404s to hit our custom 404 page. This works fine for urls like /example, however, if the url is more than one level deep, for example: /example/...
0
votes
0answers
35 views
Trigger After Update - New Value keeps the Old values only when updating outside Salesforce (Site)
My purpose is the following:
I have a custom object called "Customer Approvals" and has a lookup to the Opportunity Object. When customer approval record gets to "Accepted", i want ...
0
votes
0answers
23 views
Inactive community login redirect
I have de-activated a community. However when I go to "All Communities" and click on the url for de-activated community it takes me to the main Experience Builder page of the community.
I ...
0
votes
0answers
24 views
Hide Site Guest User When Assigning Users
We recently created a two public sites, where we've enabled apex classes. The only purpose of these sites are to update a record field when called. The Apex classes have @RestResource(urlMapping='/<...
1
vote
1answer
61 views
SFDX: source:push: CustomSite: Error: force-app\main\default\sites\site-name.site-meta.xml insufficient access rights on cross-reference id
I am trying to remove/delete a CustomSite from a Scratch Org.
I've done a source:force:pull to get the metadata onto my local machine, then I've deleted the .site-meta.xml file such that source:force:...
1
vote
0answers
41 views
Cannot turn on “Assign new records created by Salesforce Sites guest user to a default owner in the org”
I'm trying to enable "Assign new records created by Salesforce Sites guest user to a default owner in the org" in my org, but when I got to "develop -> sites", I don't even see ...
1
vote
1answer
46 views
Force.com Site: Read access denied for Custom_Object__c, but works fine in sandbox
I have a basic visualforce page that uses the standard controller for an object (Custom_Object__c). The object is a detail record, with the master being another custom object (Parent_Object__c).
The ...
0
votes
0answers
28 views
How to update LiveAgent Response When No Agents Are Available?
When No Agents Are Available, is there a way to configure the message that is sent to the users?
0
votes
0answers
106 views
Rich text image is not displaying in salesforce site
Image is stored in the rich text area, I need to display the image in salesforce site which is created using VF page, the image is visible earlier but now I don't sure but there are some changes for ...
0
votes
1answer
68 views
Plaid Integration on Salesforce site page
I have a requirement to integrate with Plaid from a Salesforce Site page. Below is the snippet from their documentation that I am embedding to my site VF page:
(async function() {
const configs = {
...
1
vote
1answer
92 views
File Upload Making as Public - Image is not Showing in HTML img tag
I am Uploading the Image from LWC page by using lightning-file-upload and Making the Image as Public accessible as Below
ContentVersion cv = [select id from contentversion where contentdocumentid =:...
1
vote
0answers
110 views
How to access a Named Credential as a Guest User?
I want a Site Guest User to be able to hit a page that uses Apex to do an API call. However, if I create a Named Credential of type 'Named Principal', then that credential is simply missing from the ...
0
votes
1answer
67 views
SITE URL REDIRECT WITH DYNAMIC PARAMETERS (Public Access Page)
I'm trying to implement URL Redirect in sites along with dynamic parameters and this is not working.
Working scenario : with no dynamic parameter.
Below scenario works fine when this is no dynamic ...
0
votes
1answer
36 views
Notify user in client when Site.login() failed
We are using an Angular app on our Site. The Visualforce page just loads the script from a static resource and we're good to go.
Some things are still done on the VF page (and controller). Like ...
1
vote
2answers
197 views
Can't download Attachment in Site
Until recently we were able to display Attachments to our guest user on our Site using a URL like
Site.getbaseUrl() + '/servlet/servlet.FileDownload?file=' + attachment.Id
But now, we're not sure what'...
0
votes
1answer
37 views
Authentication required error when inserting records with master-detail relationship on force.com site
I've got a force.com public site that is accessible without user login via guest user.
For some strange reason, this site works 100% when it is inserting a record alone, but throws an error when ...
0
votes
0answers
31 views
Force.com Site URL Redirect Lightning Community
Does the Force.com Site URL redirect only work with the actual Force.com Site and not the /s Lightning Community?
For example, if I create a redirect from /s/foo to https://www.google.com and ...
2
votes
0answers
32 views
Is it possible to select a default community when the root *.force.com domain is accessed (without the community URL prefix)?
Currently, my production org behaves this way:
https://org1.force.com responds with 503, displaying a visualforce-based in-maintenance error page saying, "https://org1.force.com/community is ...
0
votes
0answers
39 views
Not able to create Contact using Sites in Salesforce using LWC
I have created a public Site and given permissions for the guest profile with Create and Read for both Account(Only Read) and Contact. Then I have given OWD as Public Read/Write for Account and ...
0
votes
1answer
52 views
Expose User Profile Images on a Public Site
Is there a way to show User profile images on a public (force.com) site? It appears not without having to resort to taking the image, base 64 encoding it and storing it somewhere it can access, but I ...
0
votes
0answers
53 views
Inactive page for community won't display static resources
I am developing a VisualForce page using the below css and html. While I've double and triple checked that the resources are in the org, public, and properly referenced, when I deactivate the org ...
1
vote
1answer
74 views
What are some challenges with building web apps using Salesforce as a back-end? [closed]
My company is developing a custom web app (PHP/React) that relies on a lot of data coming from Salesforce. The app is targeting external customers and not existing Salesforce users.
Our initial plan ...
0
votes
0answers
27 views
Is there any way to Obfuscated JS code of Custom Components in Force.com Sites?
I noticed that the Aura Custom Lightning Component's JS code is easily readable on the browser when the components are used in a custom public site.
Is there any way to Obfuscate that JS code?
I ...
2
votes
1answer
150 views
Lookup field on VF page is not showing available choices on Force.com site
I have a visualforce page on a Force.com site that uses the Contact standard controller to create a new contact. I have a lookup field on the page which should pull a list of the location__c custom ...
0
votes
0answers
29 views
How to insert or update checkbox field from RestResource class?
I have a RestResource class which when accepts a POST request, i want to insert or update a checkbox field in a custom object. Here is the code:
@RestResource(urlMapping='/**some string**/*')
global ...
0
votes
0answers
20 views
How to pass field value from one page to other in Salesforce Site
I created Force.com Site in salesforce, it has 2 pages. First page is used to save the contact record and second page will be used to upload any documents to newly created contact.
Here problem is I ...
1
vote
1answer
50 views
Summer 20 Release Guest Site - allow create custom object
We have a force.com site that has numerous VF pages to create a custom object. The Summer 20 release report says that we need to / will be forced to shut down access. I see that one can create sharing ...
1
vote
0answers
77 views
Get force.com site URL in Custom Formula Fields
Trying to populate the Site URL in Custom Field. Eg: siteUrl/ RecordId
For this, I created New Custom setting and added the value in that filed and accessing the URL as below.
$Setup....
0
votes
1answer
428 views
Insert Attchements by Site User - INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, insufficient access rights on cross-reference id: []
I am tring to insert attachements by setting a Custom Object Id as the ParentId. Operation is done as the Guest User(on a Site). Custom object has the necessary permission for the Guest User profile.
...
1
vote
0answers
28 views
Error downloading file on SF site
I'm having trouble downloading file that i've uploaded from the guest user on an sf site. (the file is uploadead by the guest user too)
FYI : it was working and it just stopped recently.
I'm using the ...
1
vote
2answers
349 views
upload a file in VF page to content Version is broken
I have a huge and complex vf page (force.com site) - So I will try to explain my issue with an example instead publish here all the code - I hope it will be understanble:
I want to upload a file from ...
0
votes
1answer
114 views
Blank PDF attachment when try from site
I have a site, when a guest user insert some data into a inputText it triggers a record creation (HojaEntrega__c object and child records from HojaEntregaItem__c object), then an attachment creation ...
1
vote
0answers
95 views
Guest User access to Salesforce Tabs + Visualforce communities
So i have a requirement in which i have to provide 100 users access to Salesforce knowledge (read only) without having to create users for them in the org itself (to save license cost). In order to ...
0
votes
0answers
23 views
Is there any way to access custom object without login from an external site?
I have an app that sends emails to the customer. There is a link in the email which when clicked opens a visualforce page and shows a list of custom objects. I use this tutorial to achieve this. ...