Questions tagged [guest-user]

The tag has no usage guidance.

65 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
1answer
88 views

Is Describe Information Accurate for the Site Guest User?

As the title states, can describe information be trusted for the site guest user? Scenario I want to be able to insert/update tasks against accounts via a public Apex webservice. Yes, I'm aware of the ...
4
votes
0answers
79 views

Query exposes private posts to guest users

We have a class that generates an RSS feed to expose questions from a community on a public website. The Visualforce page for the feed uses a custom controller with the following query, which should ...
3
votes
0answers
27 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:/...
3
votes
0answers
53 views

Site.com vs Community

Client is using Unlimited Edition (UE) Salesforce Org. When ever we are creating a Community, it is creating a Site and a guest User along with the Community. As per https://help.salesforce.com/...
2
votes
0answers
48 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 ...
2
votes
0answers
223 views

Is it possible to convert a lead with a guest user?

I want to create a public site with a script which creates a new lead and sometimes converts it. Is it even possible to it with the guest user? I don't see the 'Convert Leads' permission on the site ...
2
votes
0answers
59 views

Guest User Create and Update permission after Spring '20

During Spring '20 Salesforce is deploying a set of security updates regarding the Guest User profile and its capabilities, mainly limiting it from being able to create and update records. We have ...
2
votes
0answers
247 views

Community - sharing rule/Guest profile

On Friday I implemented the Guest record level security in production. I added sharing rules. Everything looked great. This evening I needed to give the Guest user profile access to a custom field ...
2
votes
0answers
611 views

Site Guest Users Cannot Insert or Query ContentDocument or ContentDocumentLink objects

Update (31/01/20) As per the newly created Knowledge Article, Salesforce has stated that in order to not receive an error while Inserting/Querying a ContentNote/ContentDocument/ContentDocumentLink as ...
2
votes
0answers
234 views

Can Community Guest users delete the owned file?

Much appreciate if anyone can help me with the below. I have a community where guest users update some information and upload files with a flow. In the flow, users can delete files they uploaded once ...
2
votes
0answers
224 views

apex:slds not loading for Community Guest user, throws unsupported stylesheet MIME type error

The LDS CSS is not being loaded by using apex:slds tag for Community Guest User. It generates a link tag as below: <link class="user" href="/Customer/slds/css/gx0YG61QwKo3viF0Mc1gTw/min/scoped/one:...
1
vote
0answers
33 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
0answers
45 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 ...
1
vote
0answers
33 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) ...
1
vote
1answer
60 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
1answer
1k 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 ...
1
vote
0answers
62 views

B2B Commerce Visual Force Page Not Visible To Guest (Anonymous) Users

I have a salesforce (Visualforce) B2B Store that is being built out. I have some custom visual force pages (subscriber pages as B2B commerce calls it) that have been created. I can access these fine ...
1
vote
0answers
348 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 ...
1
vote
0answers
31 views

Issue in Guest User : post Summer release 2020

We have implemented a custom functionality where we created an apex web-service and have hosted it on force.com sites. The functionality creates a lead if email is found , and if account is present it ...
1
vote
1answer
213 views

Community Guest User cannot see records created by Customer Community users

I have a Guest sharing rule that allows the Guest user to see records created by internal Salesforce users. However, the Guest user isn't able to see records created by Customer Community users.
1
vote
0answers
195 views

INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY after Guest User Security Update

This month salesforce is rolling out a new security updated that prevents public sharing of record data, except via Sharing Rules that only provide Read-Only access. In preparing for this shift, I ...
1
vote
0answers
145 views

Can we conditionally override community template elements with custom CSS

I am using customer service community template. I want to hide the some part of standard component for the licensed user & hide that part for guest user. Let's consider, there is standard ...
1
vote
0answers
1k views

View All Users and Other Permissions Disabled in Guest User Profiles (Security Alert)

This critical update Guest users typically don’t need access to view all users in a Salesforce org, so to promote data security, we disabled the View All Users permission in guest user ...
1
vote
0answers
261 views

How can the Describe for a Field of getPopulatedFieldsAsMap() be null

I'm doing a CRUD check on Field level, since under some weird circumstances our customers don't have update rights on Record level, but only on fields (it's a guest license). So in addition to the ...
1
vote
0answers
462 views

Force.com sites Visualforce page does not update field in the Production side

I have a Visualforce page on a force.com site which is suppose to update a custom field (type text) Field1__c of a custom object Custom1__c. It works perfectly on Sandbox, but when I deployed it to ...
1
vote
0answers
190 views

Prevent Apex setCookies prepend prefix 'apex_'

Hi guys as may already know salesforce changed Debug logs for Site Guest User in winter 17. And I ran into a problem, I can't set the cookies from current page controller (Apex Controller), I get the ...
0
votes
0answers
17 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 &...
0
votes
1answer
16 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 ...
0
votes
0answers
42 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 ...
0
votes
0answers
27 views

Custom Font Not reflecting for Guest User in public site pages

I am using a custom font I have added in the static resource. I have one public page so its working fine fonts are reflecting for the authenticated users but when I am accessing the same page with ...
0
votes
0answers
24 views

Salesforce Experience Site Guest User Access

I have seen this question here, but not specifically for my situation. My guest user profile does not seem to be able to create an event. I made sure all parent records have read/create access so that ...
0
votes
1answer
28 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
0answers
27 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
0answers
41 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 ...
0
votes
0answers
152 views

Surveys: Invalid Page error after setting permissions on community (digital experiences) - Sandbox

I would like to distribute a survey to my clients outside my Salesforce organization, however, when I test the survey link (as well as in an email), I get an Invalid Page Error. What I have done to ...
0
votes
0answers
18 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 ...
0
votes
0answers
80 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 ...
0
votes
0answers
374 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 ...
0
votes
1answer
50 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://...
0
votes
0answers
53 views

SEO Object Indexing Not Happening In Community

We're running into an issue where no objects are appearing under Settings -> SEO -> Object Access. I've tried all the steps listed here (https://help.salesforce.com/articleView?id=sf....
0
votes
0answers
117 views

Has anyone successfully implemented the Guest User edit function

Following the blog post mentioned here: https://www.learnexperiencecloud.com/s/article/Guest-User-Record-Access-Development-Best-Practices#Pattern1 Salesforce has said that the User Encryption ...
0
votes
0answers
32 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='/<...
0
votes
1answer
849 views

Community not listed to set as default for survey

I am trying to add a survey to community but there are no communities listed for setting as default for survey. The selection drop down shows 'None' I am trying on developer org and my community is ...
0
votes
1answer
386 views

Disabling "Send Outbound Messages" in Community User Profile

I'm working on securing my guest user for upcoming critical Salesforce updates and I have a few permissions I can't figure out how to resolve the issues. Specifically: • ...
0
votes
1answer
274 views

How to get record in lightning community's public page with guest user?

I got the following error while executed the @AuraEnabled method from community public page(with LWC) with guest user. I think this error may be occurred because the guest user can't be referenced to ...
0
votes
1answer
367 views

How can I bypass the value of previous page to next page in Lightning community page by LWC

I'm thinking about storing data in custom objects and contact with the permission of a guest user in the Lightning community (to be developed at LWC). However, before storing it, I would like the ...
0
votes
1answer
332 views

How to enable usage of lightning-record-edit-form's onSuccess for Guest User Profile?

How to enable usage of RecordEditForm's onSuccess for Guest User Profile? I am creating a case submission form that needs to be used by both authenticated and guest users. I am using a record edit ...
0
votes
0answers
36 views

Create Individual as Site/Community GUEST user

I want a Community public page to create a Lead, and I want to capture a consent checkbox, which should live on the Individual object. The guest profile does not include the Individual object, and I ...
0
votes
0answers
124 views

Change owner in a case insert trigger does not run from Community

I have a lightning component in a community that inserts a new case. The case object has a before-insert trigger that changes the case ownerId. I get an error ...
0
votes
0answers
701 views

Chatter Error: Failed to load resource: the server responded with a status of 401 (Unauthorized) when uploading a file as community guest user

Background I am uploading a file as a community guest user, but I am getting this error message: There was a problem uploading your file. Please try again. Displayed here: And this error in ...