Questions tagged [guest-user]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
35 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 ...
daraul's user avatar
  • 3
-1 votes
1 answer
215 views

Issue sending email using flow and email template with merge fields

I have created an email template on User object as below: Hello, A user registered successfully with below details: First Name: {!User.FirstName} Last Name: {!User.LastName} Email address: {!User....
Jason Rickert's user avatar
1 vote
0 answers
208 views

Lookup Fields Showing up Blank for Guest User in Screen Flow

I have a screen flow that is being used on a public site. Everything in the flow is working correctly, except there are two lookup fields that are showing blank (no label or placeholder, and the field ...
Liz's user avatar
  • 61
0 votes
0 answers
37 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 ...
Madhurima's user avatar
  • 1,265
1 vote
0 answers
90 views

SendEmail failed.[...] first error: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY when Messaging.sendEmail via guest user on a site

We have a public site which uses a guest user to execute the logic of all its aura components/classes... We are facing an issue when this guest user tries to send an email through Messaging.sendEmail(...
Arnau LS's user avatar
0 votes
1 answer
216 views

Blank PDF Generated on Use of getContentAsPDF on A VF Page When Called From an LWC Component on a Community Site

As the title says I'm calling getContentAsPDF for a VF page from an LWC component which is used on a community site. It works for Authenticated users but for Guest Users returns a blank PDF. I've done ...
Avalon's user avatar
  • 5
0 votes
0 answers
227 views

an error occurred while trying to update the record. please try again. Error message when deactivate user from the community site

I have created the customer community plus site and set up permission to add new user and deactivate users for the external super user. External super user can create new member, no error, while ...
Mani's user avatar
  • 1
2 votes
2 answers
193 views

Guest Use Access Report Package AuraEnabled ApexClasses

This article was recently published and caught the eye of our leadership team: https://krebsonsecurity.com/2023/04/many-public-salesforce-sites-are-leaking-private-data/ The article recommends using ...
gNerb's user avatar
  • 9,441
1 vote
0 answers
644 views

Record-Triggered Flow not running as the specified automated user

Screen-Flow: customer-facing webform executed in User Context as a Guest User. This Flow simply creates a Case. Record-Triggered Flow: triggered when a Record is created, running other queries and ...
user162122's user avatar
0 votes
0 answers
29 views

Issue with Creating records thru flow with all access data in community portal

Current Config Organization-wide setting - Sharing Setting Custom Object LeadStage - External sharing - Public Read /Write Community Portal Guest User Profile Custom Object LeadStage - Create, Edit ...
Nams's user avatar
  • 1
1 vote
1 answer
290 views

Guest user getting 'Unauthorized access' when displaying a "lightning-record-form" for case creation

I followed this to give Guest User create Case access. Along with this given access to Record Type also and few other fields like Subject, Description, Origin. https://help.salesforce.com/s/...
Nagendra Singh's user avatar
1 vote
2 answers
838 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 ...
Matthew Souther's user avatar
-1 votes
2 answers
1k 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 ...
Jonathan Crow's user avatar
0 votes
0 answers
138 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, ...
Ryan Brubaker's user avatar
1 vote
1 answer
679 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 ...
Rochelle Currier's user avatar
0 votes
0 answers
108 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 ...
Gunjan Khandelwal's user avatar
0 votes
0 answers
139 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. "...
Abhijith S's user avatar
1 vote
0 answers
31 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, ...
PatMcClellan__c's user avatar
3 votes
1 answer
306 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 ...
Thomas's user avatar
  • 2,294
1 vote
1 answer
305 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)...
momo's user avatar
  • 51
0 votes
0 answers
455 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 ...
Tarique Shamim's user avatar
1 vote
1 answer
2k 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 ...
SFDC buddy's user avatar
1 vote
0 answers
223 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: ...
FarKorE's user avatar
  • 25
0 votes
0 answers
153 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 ...
mkzyk's user avatar
  • 55
1 vote
3 answers
1k 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 ...
Darshana's user avatar
0 votes
3 answers
3k 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 ...
Aastha 's user avatar
2 votes
0 answers
742 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. ...
gutsyfella's user avatar
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 ...
Fakeha Quazi's user avatar
0 votes
1 answer
535 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 ...
Brian23Gt's user avatar
  • 109
0 votes
0 answers
347 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 ...
matistikoff's user avatar
2 votes
0 answers
347 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 ...
Fakeha Quazi's user avatar
0 votes
2 answers
786 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 &...
user43598's user avatar
  • 447
3 votes
2 answers
2k 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:/...
GabbyTech's user avatar
0 votes
1 answer
665 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 ...
Julio Didier Maciel's user avatar
1 vote
0 answers
127 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 ...
I. Horowitz's user avatar
1 vote
1 answer
724 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 ...
Pratap Jadhavar's user avatar
1 vote
0 answers
299 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 ...
abhi saxena's user avatar
0 votes
0 answers
659 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 ...
thinker's user avatar
  • 1,402
1 vote
1 answer
137 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) ...
Juan Aguilar's user avatar
1 vote
1 answer
337 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 ...
Dave Smith's user avatar
0 votes
0 answers
541 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 ...
Noor A Shuvo's user avatar
0 votes
0 answers
432 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 ...
L Mudiyanse's user avatar
1 vote
1 answer
874 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 ...
Bill Woodson's user avatar
1 vote
1 answer
1k 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 ...
G J's user avatar
  • 63
0 votes
0 answers
82 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 ...
Anony's user avatar
  • 1
4 votes
1 answer
633 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 ...
cropredy's user avatar
  • 69.8k
0 votes
0 answers
252 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 ...
Travis's user avatar
  • 342
1 vote
1 answer
3k 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 ...
Priyank Saklani's user avatar
0 votes
1 answer
406 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 ...
Salesforce_Noobie's user avatar
1 vote
1 answer
261 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 ...
T. Webster's user avatar