Questions tagged [guest-user]
The guest-user tag has no usage guidance.
151
questions
1
vote
3
answers
93
views
Supporting guest user file upload on an LWR Site (up to 20mb)
I'm trying to build a simple public-facing web form on an LWR Site. One key requirement is for users to be able to upload a file, but I'm facing some heavy obstacles:
lightning-file-upload is not ...
-1
votes
1
answer
94
views
Guest User unable to upload file from flow
I have a flow where the guest user can upload a file and attach it to a case. The flow works in our development environment, but not in testing or production. As a guest user if the file is uploaded I ...
0
votes
0
answers
51
views
Access to User records in Flow run from Portal Site (different behavior between PRD and Sandbox)
We have a Screen Flow that is embedded in a public Site that allows users to sign up for an account. The flow runs as "System Context Without Sharing--Access All Data". As part of the flow, ...
1
vote
1
answer
133
views
Flow running as Guest User for logged-in user
I have an Experience Cloud site that has several screen flows embedded in it. I'm getting flow errors for multiple flows that say the running user is the site's guest user. There is no way for guest ...
0
votes
0
answers
34
views
VF page generating blank pdf after domain masking of site url
We have a VF page that is accessed by the site guest user and it generates pdf in the future method. This code was working fine but recently we did domain masking in our environment using an SSL ...
0
votes
0
answers
39
views
ContentDistribution Not Creating From Guest User - SF Community Site
I'm getting the following error for the guest user while creating contentDistribution.
But, I'm able to delete the same contentDistribution records from the guest user profile.
"...
0
votes
0
answers
77
views
Can Salesforce subflows run in diffrent contexts that its parent flow?
I have a general question about an approach I am implementing.
Background
I have multiple subflows that are being launched from a main flow accessible to a guest user via an experience cloud page. All ...
0
votes
0
answers
64
views
Guest User Permission Problem: Using a picklist during the configuration of a Aura component requires certain permission settings
I run into an error and been scratching my head for a while now.
This is my first post here, please be kind. ;)
(Any suggestions regarding formatting/etc. of this post are welcome.)
The Problem:
I ...
1
vote
0
answers
28
views
How to use an Integration User with a REST site: documentation request
My app is a Lightning native Twilio integration that uses a REST site to receive data from Twilio.
I would like to run flows that are triggered by data created by these incoming http POSTs. However, ...
3
votes
1
answer
170
views
How to add dynamic url in self registration welcome email experience cloud
I currently have website from were users get authenticated by the IDP in Salesforce and logged into the customer site. Currently with a return url parameter I can redirect the user to the page where ...
0
votes
0
answers
155
views
field is not updating and showing no error for guest user
The below method is being called from the guest user and it seems to work absolutely fine as there are no errors and the debug logs are showing the updated user record. But when I query the record ...
1
vote
1
answer
118
views
Cannot assign sharing rule to guest User for custom object
I want to give access to my Community guest user for my objects , but I don't see the setting available for my Custom Object.
for reference : -
Standard Object(product):-
Custom object(Business Brand)...
0
votes
0
answers
258
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
860
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 ...
1
vote
0
answers
95
views
Guest User permission problem on update operation
I am using the AppExchange Unsubscribe Link package (from Salesforce Labs) (version installed 3.10.0) and I get the following error when I try to unsubscribe a Lead or Contact:
...
0
votes
0
answers
90
views
Using flow to create case record by guest user can not be fired omni-channel
I set up a screen flow to create a case record on Experience Cloud site.
It allows to use by Guest User, they can create a case record, and set case owner as a Queue. It has to be fired omni-channel ...
0
votes
2
answers
511
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 ...
0
votes
0
answers
14
views
Test class for files upload method using contentDocumentlink for Guest user [duplicate]
I was trying to write a test which will take input as a file upload field and store file onto a dummy record then attaching it to the Lead record and removing those dummy record data after attaching,
...
0
votes
2
answers
1k
views
Not able to send email using Messaging.sendEmail if I am Community Guest User
Requirement: Take input (Name, Phone) from user into LWC modal and on click of submit button fire email, using Apex Messaging class, if user is Community Guest User.
Current Issue: When logged in as ...
2
votes
0
answers
572
views
Guest User with Object access restriction able to retrieve data from List View with sharing 'Visible to All Users'?
Issue: We observed during a recent scan of our Customer Community that data for a custom object could be retrieved (via API GET) from the List View even though Guest User has no access to the object. ...
0
votes
0
answers
23
views
Not able to subscribe to Platform events using cometD in visualforce or force.com site [duplicate]
I am trying to subscribe to a Platform event in force.com site page in visualforce page. I am using cometD to subscribe.Using below code. It works internally in org. But when using the page on site ...
0
votes
1
answer
337
views
Guest User create ContentDelivery record
I am trying to let a guest user from our Salesforce site create a ContentDelivery record in order to create a public available link for a signature he just posted in the website.
I cannot give him the ...
0
votes
0
answers
225
views
How to access content library as guest user in experience builder
in "VNSK" library i have some images that i use as URL for custom object and later i'm retrieving this object via SOQL in my LWC component
this works fine for manage library members (i have ...
1
vote
0
answers
190
views
Is using $Api.Session_ID in visualforce page to be used in force.com site vulnerable?
I am using $API.Session_Id in script in a VF page. I will be using this page for guest users. This {!$Api.session_id} returns some value. Is it a wrong way to get session id as this page will be used ...
0
votes
1
answer
339
views
approval process is not accessible to guest user
Premise: I have a managed package called Click Approve which performs certain functionality and on completion it invokes my own 'record-triggered' flow. This package performs all its actions using a &...
3
votes
2
answers
780
views
Deactivate a user who is no longer default owner of records created by guest users but still erroring?
Error: This user is the default owner of records created by guest users and can’t be deactivated.
I keep seeing this message when I try to deactivate a user. I followed instructions given here: https:/...
0
votes
1
answer
410
views
Experience cloud guest user Account access error
i've created a custom lightning component with a lookup field to the Account.
The lookup works fine with my Sys Admin user, however with the guest user profile it does not work, seems like that ...
1
vote
0
answers
59
views
Guest user account request filenotfound VF page [closed]
I have created a Guest User Account for the fielding of Webhooks from a third party platform. I set the same system up in a sandbox, and it worked well.
When I set up the same Site in production, I'm ...
1
vote
1
answer
442
views
Email Alert behaves differently for 'Guest' & 'Guest License' users
I have a form on public community & when a user submits it, an application record gets created. On the creation of the application record, have a process builder which sends an email. But this ...
1
vote
0
answers
205
views
Facing one error While creating Lead from the guest user
all I have one functionality where Lead is created from Guest user,
Error Occurred: This error occurred when the flow tried to create records: CANNOT_EXECUTE_FLOW_TRIGGER: We can't save this record ...
0
votes
0
answers
504
views
Site Guest User and Flows
I'm working with a Flow and Site guest user. I understand that there are some changes that came out that are preventing Site Guest Users(SGU) from accessing objects and flows in Winter 21'.
The ...
1
vote
0
answers
90
views
Guest User can perform update under future method
I have a site page with a form that can be accessed by guest users. I have an upload button that when it's clicked a tracking record is created (it's ok for guest user as the profile has read/create) ...
0
votes
1
answer
141
views
Guest User Profile permission problems. Need UPDATE permission?
I have this code:
Guest_Planning_Worksheet__c gpw = new Guest_Planning_Worksheet__c();
update gpw;
When running it as the guest user profile, which assigned to our Site code, it ...
0
votes
0
answers
338
views
Create user without email
I have an external system integrated with Salesforce. I import contacts from that external system and create the users in salesforce. Not all of the contacts have an email address.
My Requirement:
I ...
0
votes
0
answers
319
views
Test Class Fail - first error: FIELD_INTEGRITY_EXCEPTION, field integrity exception (Guest users cannot be record owners.):
I'm getting above error message when I run a test class. This class has nothing to do with Public sites/community. As per the research, I have explicitly added an OwnerId for the record. But still it ...
1
vote
1
answer
437
views
What is the best practice to let guest user update record?
I have an apex controller trying to save changes to a record. This has been traditionally done from a VisualForce page, but am getting
System.security.NoAccessException: Update access denied for ...
1
vote
1
answer
618
views
Restrict guest user site access from certain countries to experience / community cloud
We have Guest user access / unauthenticated site in Experience / Community Cloud.
There is a need to allow request from US and restrict request from all other countries (outside US).
When there is a ...
0
votes
0
answers
54
views
Access Public Site VF Page and Controller with some data returned in url from Other Org or execute the JS method from VFpage based on Pageref.Param
Can anyone please help me with this, I have a public site in Org1 and it has a vf page,Standard controller in it. My requirement is when I pass some parameters and call the public site vf page from ...
4
votes
1
answer
395
views
Delete orphan Guest User Profile
(In a Marie Kondo mood)
I have a custom guest user profile: Foo.
There are no assigned users to this profile (makes sense - it is a guest user profile)
There are no Digital Experiences or Sites that ...
0
votes
0
answers
202
views
Flow for guest user to create a task
I have created a simple Screen Flow that takes some inputs and creates a task. I am putting it on a public site in a community. When the flow runs it throws an error of "An unhandled fault has ...
1
vote
1
answer
1k
views
Logs for flow execution are not detailed
I am building a basic public page form on the salesforce communities, creating a 'Property lead' record in our org. By giving edit access to 'Guest User' I can create the records with no problems. I ...
0
votes
1
answer
261
views
VF Email Template - Welcome New Member - {!$User.FirstName} displays created by user, not recipient
As title suggests, I've created a Welcome New Member email using VF email template.
However the merge field {!$User.FirstName} and {!$User.Username} are displaying the created by user - i.e., our ...
1
vote
1
answer
167
views
Cannot enable Standard Object Permissions for Guest User in Public Access Settings
I'm trying to enable Create and Read permissions on Accounts for the Guest user with a Salesforce Site on a scratch org. When I go to Sites in Setup,
click on the site
click Public Access Settings
...
1
vote
2
answers
4k
views
Error: This user is the default owner of records created by guest users and can’t be deactivated
I'm trying to deactivate one user, but getting this error.
Error: This user is the default owner of records created by guest
users and can’t be deactivated.
Please note, I have already checked the ...
0
votes
0
answers
775
views
Guest User Cannot Send VF Email Template While Having Access to Object's Fields
I have a guest profile triggering a workflow rule/email alert when they click "Save Information" button on a public portal. If I log in as myself (internal user) the flow works and I get the ...
1
vote
1
answer
345
views
How do we query a Non-Guest User. (Test Methods failing)
How do we query for non Guest users.
with the new Guest Ownership Rules Test methods are failing:
First exception on row 0; first error: FIELD_INTEGRITY_EXCEPTION, field integrity exception (Guest ...
1
vote
1
answer
1k
views
Object Manager access
How can I give access to Object manager to a particular user having the profile which not having access to object manager.? Any Alternate way other than assigning System Admin Profile , Also I dont ...
1
vote
1
answer
124
views
Image are not rendered for the guest user [closed]
Don't know why my uploaded image not rendered for the guest user
2
votes
1
answer
137
views
External Service call in a Visual Flow from Guest User
I have created a Visual Flow in Salesforce that performs an action that calls a configured External Service.
The flow correctly works in the debug mode (I am logged as system admin).
On the other hand,...
0
votes
1
answer
463
views
Go to a public Community Home page from base URL
The goals is to have a public home page of a community.
That the users do not have to login to see.
And when users hits the base URL of the community it is redirected to that public home page.
https://...