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.
841
questions
-1
votes
0
answers
20
views
Apex REST Resource IP Ranges on Sites
If an Apex Class is exposed as a REST Resource (using annotation @RestResource) and that Class is enabled for access by the Public Access Profile associated with a Site then, provided the Site's ...
0
votes
0
answers
49
views
How to allow guest user to upload files
I have created a LWC component to create cases with files from an experience site and I have allowed guest user access.
To allow guest user to upload files I have enabled the 'Allow site guest users ...
0
votes
1
answer
20
views
How to test Salesforce Sites Error Pages
I override the standard error pages for a Salesforce Site (Not Found, In Maintenance, Generic Error) with my own Visualforce pages.
How I can test In Maintenance and Generic Error pages?
I tried to ...
-1
votes
1
answer
29
views
Site page shows error on production
When I clicked on Site page. It shows below error
Authorization Required
You must first log in or register before accessing this page.
If you have forgotten your password, click Forgot Password to ...
0
votes
0
answers
27
views
How to communicate from one LWC to another LWC component
I am having two LWC components(A and B) and there is relation between these components. A LWC component is in lightning tab and displaying in flexi page(lighnting page). B LWC component is add ...
0
votes
0
answers
40
views
How to set the values for Permissions-Policy for custom Force.com site
How to set the values or enable Permissions-Policy for custom Force.com site ?
We have one custom page build on force.com platform, upon doing the penetration testing we are getting below result
...
0
votes
0
answers
41
views
Is it possible to add more forward slashes to the Default Web Address in Salesforce Sites?
Navigation : Setup > Sites
As in my screenshot, I tried adding more forward slash(es) but get an error saying
The Default Web Address must be alphanumeric.
The reason why I need these extra ...
1
vote
1
answer
244
views
Access Named Credentials with Guest User
I have created a Rest Service which accepts incoming Webhooks from Concur to notify Salesforce an Expense Report is ready. I am then using a Callout Class to fetch the Expense Report details from ...
0
votes
0
answers
39
views
Lightning Flow for Guest Users on force.com Site
I am trying to run my Lightning Flow on force.com site for guest users using VF page and Lightning app as described below. However, flow is not rendered and throws an error invalid session.
VFpage:
&...
2
votes
1
answer
152
views
Issue with force.com site VF page
Need help for a force.com site requirement.
A visualforce page is hosted on force.com site.
Using StandardController with extensions in VF page for a custom object.
Whenever a new custom object record ...
0
votes
0
answers
62
views
When I access the site URL where I host the VF page in different browser, The inputfields are not appearing. I can only see outputlabel. Why?
When I preview the vf page from developer console, I am able to see the fields but when I access the site URL where I host the VF page in different browser, The inputfields are not appearing and i am ...
0
votes
2
answers
530
views
Why can't I allow guest users to edit existing records in a custom object?
I have a custom object named "Promotional Tokens", and need to allow guest users to edit a single field, on existing records in this object: Phone_Number__c. I've configured my site, and ...
-1
votes
1
answer
44
views
Tools to mesure perfomance of salesforce experience site
I have a partner community and need to measure performance for all pages as a logged user and as a guest.
I found some topics from Salesforce on how to measure lightning pages
https://trailhead....
0
votes
0
answers
131
views
When creating new site, b2b commerce lightning template gives error
I am trying to create a new site from all sites.
If I choose B2B Commerce (LWR) template, it gives me an error when site setup.
An unexpected error occurred. Try again or contact your Salesforce ...
0
votes
1
answer
53
views
Adding custom domain to Site.com but how to make CNAME enhanced domain compatible?
If an org is yet to enable enhanced domains and a custom domain needs to be added to a site (site.com), the current documentation says to create a CNAME like so:
... if your domain name is www....
1
vote
1
answer
169
views
Exposing a Flow in Community Site (guest profile) is not working when I embed the Flow via Visualforce
I need to embed a flow on a public Salesforce Site.
I have enabled flow access for specific flow under the Site's Profile, but it still doesn't seem to show.
I found this super helpful post that ...
1
vote
2
answers
265
views
getObjectInfo/getPicklistValues permissions needed in public community
What are the permissions needed to use getObjectInfo (needed for default record type) && getPicklistValues wire adapters in public community?
I've added but I'm getting 401 when accessing ...
0
votes
0
answers
412
views
Guide: Add custom font on experience(community) site using head markup in lightning builder (working 100%)
Question : how to import custom font in Lightning Experience Site?
Answer:
This has worked for me. (Tested). Following are the ways
Case 1 : when font file(.woff) is inside the zip(MyFont)
/* Font ...
0
votes
0
answers
189
views
Corporate URL without subdomain for salesforce site pages
I have a domain related question.
So my client wants to use their company website on the community site.
Client website is like: MyCompany.com
Our community url is like: MyCompany.my.site.com/...
1
vote
0
answers
105
views
Public Site URL visualforce page is coming up in classic instead of lightning for Guest User
I have created a public URL using sites. The site page has a custom visualforce page as the Active Site Home Page.
My issue is that when I open the public URL, the Visualforce page is coming up in ...
0
votes
1
answer
1k
views
Site Guest User can not send email in force.com site in salesforce
I have already searched it through what could be the possible reason for not being able to send a single email as a site guest user on force.com site in salesforce
Site guest user's email should be ...
0
votes
0
answers
31
views
Experience Form with Different Google Accounts
I have a question regarding a form I created using screen-flow in our community. I've noticed an interesting behavior when filling out the form, particularly in the first step where I'm required to ...
0
votes
1
answer
54
views
Canonical urls for Visualforce pages
I have Salesforce sites using VF pages. The urls are similar to
https://abc.my.salesforce-sites.com/apex/positions?id=xxxxxxxxxx
Is there a way we can have these urls to use a more canonical names. ...
0
votes
1
answer
944
views
Salesforce site URL dynamic domain name
I need to create a formula field to register an invitation URL (to be sent via email) to a contact, where the URL is a (publicly accessed) Salesforce Site.
Here is the thing. The site URL is [org].my....
0
votes
1
answer
146
views
i created public site and added the vf page But if i click view it throw The asset cannot displayed because you don't have sufficient permissions
my task is i want to show the einstein dashboards in external web application so i created vf page i tried to add this vf page in public page then web application can use it iframe.but i got error in ...
0
votes
0
answers
86
views
Currency Fields is not allowing decimal places In visual force page for Swedish Currency
I have a client from Swedish and they use Swedish Krona currency. I have created one VF page and added it to force.com and the user will update or insert data.
In salesforce, when Swedish currency is ...
0
votes
1
answer
1k
views
How to set LWC on website homepage in salesforce?
I am trying to create a public force.com site; in which people can visit the site without logging in, so I have registered my site and then trying to set home page. Here "active site homepage&...
2
votes
1
answer
538
views
Error on loading visualforce site
I have sites on multiple orgs which have a visualforce page. On this visualforce page in an apex:actionFunction with a rerender and an oncomplete.
The idea is to have a spinner on the page until the ...
2
votes
0
answers
564
views
Are Static resources only accessible after a user has been authenticated?
I am displaying favicon in the Digital Experience Site. The favicon displays correctly. However what I am observing is that while the Login Page is loading the browser displays the salesforce logo ...
2
votes
1
answer
98
views
Sites: Anyone not using "without sharing" on controllers?
We're developing a site, with vf pages and controllers. I'm curious if anyone is able to develop in this environment, accessing Opportunities and Contacts, plus some custom objects, without resorting ...
2
votes
1
answer
149
views
REST endpoint ContentVersion creation succeeds in synchronous mode but fails in Queueable for site guest user
I have a REST endpoint that, when called by a guest user, creates a ContentVersion file. When the process happens synchronously, the ContentVersion file gets created without issue. However, when the ...
-1
votes
1
answer
69
views
How do I espose ebike LWC components for Experiece Builder site Guest and Autrhenticated users
I have tried opening up all object and apex permission for both but i keep getting the message "There are no products matching your current selection" on the product tile list. While the ...
0
votes
1
answer
270
views
Launching VFP / LWC to outside users who are not in Salesforce
Requirement here is to have a feedback form open on a browser. Plan is to send an email with link to launch the form with few survey questions. So the option that I know is to set up a Salesforce Site ...
1
vote
1
answer
1k
views
Log users out of the community site?
I have a requirement to have a visualforce page with login and logout buttons. When a user clicks login they are redirected to the external App through Auth0 to login and if the user is found in ...
-1
votes
1
answer
22
views
Organize applications on a domain path rather than a subdomain for each?
Is there a way to placesiteforce.com applications on a custom domain path, rather than having a subdomain for each ?
mydomain.com/app1 ->. app1 ...site.siteforce.com
mydomain.com/app2 ->. app2......
0
votes
0
answers
599
views
Apex Action in Flow is not executing when it's being called under guest user context
I have a managed package in my Salesforce instance, and I'm trying to implement a flow that is a record trigger flow on Event__c (custom object).
I'm creating the Event__c record by exposing a URL ...
0
votes
1
answer
850
views
Webhook settings and apex class
I'm new to the topic of webhook and also apex, and I'm getting confused when you are making the setting in Salesforce and also the creation of the class.
When you are placing the path in the class, ...
2
votes
1
answer
3k
views
Guest User not able to get data from custom object
I am having simple custom object(Resources) with out any relation ship and having only one field (Resource Name)
I am trying to access the data inside this custom object through APEX and the user is ...
0
votes
1
answer
143
views
ligtning-input date showing junk numbers in years
In my digital experience site I made one date control in LWC as with the code below
<lightning-input type="date" required name="dob" label="Date Of Birth" ...
0
votes
0
answers
59
views
Help with a site
I don't understand this:
I have a site that works fine when its url has "/apex/..." but when I use another link, which should be the default one that I will share at the end, it gives me an ...
1
vote
3
answers
2k
views
Sending email functionality is not working for site guest user of org
We have one visualforce page which is working fine previously for sending emails but now it is not working.
All other functions from that visualforce page are working fine But send mail functionality ...
1
vote
1
answer
304
views
How to include a "Guest User License" profile in the CI for a Digital Experience
Digital Experiences are turned on via the communities feature switch in the scratch org definition. But that feature switch does not make the "Guest User License" type available that is ...
1
vote
1
answer
768
views
How can I reference a font in a static resource from a community login page when I can't use URLFOR in CSS and the static resource sits behind auth?
Working on rebranding a portal/community/experience login page. The designers, being non-Salesforce folk, have a CSS font-face tag in there that references the font files and I've got them in a ...
2
votes
1
answer
2k
views
Digital experience builder main page not showing
I had created a site in my production org but the landing page(Home), which has to be a standard lightning experience page(main) is not shown in the pop-up. It's just showing default. What should I do ...
2
votes
2
answers
6k
views
Image from Rich Text Field is not visible in community site to guests
We are using Rich Text fields to allow our users to upload images that are displayed in our community site. This has been working or us for years. Guest users, logged in users they can all see the ...
0
votes
0
answers
520
views
Download and open PDF file from Salesforce Site Aura component
This is from another question 'Render PDF from Aura Component on a Salesforce Site' which was not resolved. I need to render an existing pdf(editable) file. So when the user clicks the link they can ...
2
votes
1
answer
3k
views
Salesforce Experience vs Sites [closed]
A client of mine has a website and a public domain that they have right now that is strictly informational. There are various tools such as a Store Finder Tool, Appointment Booking and Web-to-Case ...
5
votes
2
answers
4k
views
Salesforce Error Publishing Community 1715759908
I created an Experience Site in a developer sandbox. Once it was ready, I deployed the experience Bundle, Site, Network and all related metadata (LWC, Aura Components, Classes, Fields, etc.. ) to a ...
1
vote
0
answers
149
views
How can I create a user with Authenticated Website License?
I've been reading about SF External users licenses. One of them is Authenticated Website License. I can't find it anywhere in my org. The documentation says that the license is available in Salesforce ...
0
votes
0
answers
164
views
Visualforce sites.com page - Display all records on VF page from custom object
I am trying to build a Sites website so I can make a blog of technical tips for my users available from Salesforce.
I have followed the guidance on Visualforce - Display all records on VF page from ...