Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [guest-user]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
2answers
178 views

Winter 20 breaks communities guest file upload

We have a community which has a lightning:fileUpload component for guests to upload anonymous file attachments to their created records. The guest user creates a new record via a global action which ...
0
votes
1answer
38 views

Site guest user problems to view lightning flow

I created a Lightning application to allow a visual flow to run with Lightning runtime. The problem is that when I run the force site as the guest user, the flow doesn't show correctly to the guest ...
0
votes
0answers
18 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
23 views

How to allow Community guests users to see error page for invalid URLs?

So here's a weird issue I've never been able to solve: When a guest (non-logged-in) Community user attempts to access an invalid URL (a mal-formed URLName for an article, as an example), instead of ...
0
votes
1answer
131 views

Adding Survey to Community

I have a community for surveys. I made its home page public and set the community itself to be accessible to the public. I verified that the homepage is accessible to the public. I set the survey ...
1
vote
1answer
85 views

How to upload Files as Guest Community User

According to Spring 19, it should now be possible to upload files as a Guest Community user. But if you try either of, <lightning:fileUpload> . <lightning:input aura:id="fileId" onchange="{!...
0
votes
0answers
54 views

How to bypass FLS for Lightning:recordEditForm for Community Guest User

I'm trying to update a Contact record as Guest Community User. Lightning:recordEditForm seems does not allow community guest user to load or save the record, and gives me following error on community ...
0
votes
1answer
69 views

Downloadlink not working for Guest user site

I have created a link on a visualforcepage for Guest user.The link shows correctly with the correct id. When I try to download the link a new page is opened with the error: urlsite/ex/...
0
votes
0answers
187 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 ...
2
votes
1answer
67 views

How do guest communities allow access to detail pages?

Do communities evaluate the Record requested when determining if a page should be accessible? So we have a guest community, which we share some accounts to, for varying purposes. For some childA and ...
1
vote
0answers
75 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 ...
1
vote
1answer
60 views

Site guest user profile CRUD missing in a new scratch org

I've got a bitbucket pipeline which creates a new scratch org with the following config and then immediately deploys the source into the scratch org. { "orgName": "MyOrg", "edition": "Developer", ...
3
votes
0answers
47 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/...
0
votes
0answers
20 views

Guest User unable to fetch Account, Contacts

I am using communities to create cases using Guest User and I need to assign some Account info to the Cases. I query the Account in the controller used to create case but it returns no rows. If same ...
2
votes
0answers
99 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:...
0
votes
1answer
10 views

Changed File Asset & getting old version sometimes & new versions sometimes - cache has been cleared

I changed the image for a file asset. I am sometimes getting the old image and sometimes getting the new image when I use the same URL. It is as if Salesforce servers are out of sync. Does anyone ...
0
votes
2answers
499 views

Community Guest can see files in Asset Library

My Community Guest can see files in the Asset Library. How can I change this?
1
vote
1answer
218 views

Force.com Sites - Lookup Access Error for Guest Site User

I have setup a Force.com Site with access to Visualforce page, however receive an error message when trying to use the Lookup fields on the page. Some troubleshooting I've done so far: Grant access ...
0
votes
0answers
34 views

Volunteers for Salesforce Attempt to de-reference a null object site functionality

I have been having this issue for a few days now and have no idea where else to look. I have implemented Volunteers for Salesforce for a client and so far it has worked...okay. The volunteer portal ...
0
votes
1answer
64 views

User Type Guest

Where and what is User Type from Guest so that I can create an exception in my rule? Error Message: "Changing User Type from Guest to Profile External Client is not allowed" Edit: I found it in my ...
0
votes
1answer
96 views

Disabling download attachments to guest users

I would like to disable the possibility to download and read attachments to guest users of my community by requesting them from https://<salesforce-url>/community/servlet/servlet.FileDownload?...
0
votes
1answer
80 views

Public Site with access to attachments

I am currently creating a public site. This site should display attachments that are attached to a custom object. My plan was to first load the ContentDocumentLink of the object and then the ...
0
votes
0answers
60 views

ContentDocumentLink creation throwing error for guest user

We are getting following error when we try to insert contentdocumentlink to the account using guest user. Insert failed. First exception on row 0; first error: INSUFFICIENT_ACCESS_OR_READONLY, You ...
0
votes
2answers
165 views

Community Guest User able to create records without create permission

We ran into a scenario where a community (Salesforce Tabs + Visualforce) user opens multiple tabs and is logged out on one tab. When the user goes to another open tab and performs an action on a ...
0
votes
0answers
123 views

Force.com upload file via API from guest user

I am building a visual force page that sends a file from the org to our 3rd party server that modifies the file as per instruction. So far that is working fine. I need to return that document from ...
2
votes
1answer
483 views

Need to give guest profile access to documents

I need to give the guest user profile access to view files/documents (PDF, Excel, Word, etc.). I have a public Customer Service/Napili community with Knowledge set up. Guest users can see the ...
0
votes
1answer
67 views

Restrict Accounts that can be searched in Community by Guest user

I need Guest users to my Community to be able to use the Global Search to search a subset of the Accounts in our instance. I have the OWD for Accounts set to Read. I can't think of how to restrict ...
0
votes
1answer
264 views

Provide permission to Event object to Site Guest User

I want to give Create Permission for Activity-Event to site guest user. Is this possible in Salesforce? I am not being able to add permission to the Guest User profile or Assign a permission set.
0
votes
1answer
27 views

How to view name and profile of site guest user

I have sites in my Salesforce org. How do I view the name and profile of the giest user?
0
votes
1answer
100 views

Can guest user delete custom object records?

I have a custom object which is having look up to Account and contact and few other custom objects. Can users with Guest user License delete such records. I have been trying to delete with an ...
1
vote
0answers
126 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 ...
0
votes
1answer
38 views

Create custom fields using guest user

I am able to create custom field on sf object using apex code. But now I want my when a an guest user request with a JSON, I want to create some fields on sf. I am running the same code when request ...
3
votes
1answer
143 views

User context is always guest user in Site Url Rewriter class

We have a customer community with a custom Visualforce application and a custom login page, so that when you are logged into community you are always in the VF app. I have created a Url Rewriter ...
7
votes
1answer
64 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 ...
0
votes
1answer
28 views

Unable to retrieve account billing address with guest user

I have the following code: prodList = [SELECT ServicePartner__r.Name, ServicePartner__r.BillingAddress, ServicePartner__r.BillingStreet FROM Product2 WHERE id = :productId ...
0
votes
1answer
53 views

How to prevent spamming of guest users? (best practices)

Business requirement requires guest user to create records in multiple objects. It is vulnerable for spamming users can create huge amount of data in short time. I am planning to add a recaptcha ...
10
votes
1answer
602 views

Named Credentials in Lightning Component - Streaming API

Setup: Force.com site page Guest Users VF with Lightning Out Lightning component to subscribe to Push Topic Problem Guest User does not have a session ID so no way to set it here: $.cometd.init({ ...
3
votes
1answer
3k views

Remove timezone conversion from the value of ui:inputDateTime

I have a public community which means that guest users will be sharing the same guest user record (But not all users will be guest). I am trying to create a way to for them to enter a dateTime and ...
1
vote
3answers
768 views

How to give update permission to Guest user for ShippingStreet field of Account object?

I can not be able to access shipping street by using it as "{!$ObjectType.Account.fields.ShippingStreet.Updateable}" can anyone help me out which permission suppose to give to give access to site ...
0
votes
1answer
2k views

Where is the guest user for communities

I want to setup a self-register process for a community. For that I need a guest user. Normally when a community is created with the wizard automatically a guest user is generated. But I don't see the ...
0
votes
1answer
663 views

Site Guest User Record Creation [closed]

i created a simple VF page that has input fields that lead to the creation of a record in a custom object created by me. i created a Site and set "Active Site Home Page" as this visual force page. if ...
1
vote
0answers
321 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
144 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 ...
17
votes
1answer
12k views

Debug logs not working for Site Guest Users (Force.com sites) after the Winter 17 release [duplicate]

Recently our team has noticed that turning on the Debug Logs for a Site Guest User has stopped working. Prior to the Winter 17 release, if you turned on Debug Logs for a Site Guest User, logs appear ...
2
votes
0answers
37 views

Guest user debug logs suddenly not being created [duplicate]

We have a set of communities where unauthenticated users are submitting forms, and we want to set trace flags for the behavior done by these users, i.e. we want to observe what the guest users are ...
0
votes
1answer
212 views

How to send VisualFlow email using dynamic sender address from sites visualpage?

I have a visual flow that needs to send an email to the account contact, using the account contact's owner details. The flow is invoked from a force sites guest user. -- Test flow -- I have tried ...
0
votes
1answer
361 views

Site guest user, insert data

I try insert data in my custom object from page controller on site, and nothing happened I have public access site, and i want that guest user can register on site. BUT i want saving guest info in ...
0
votes
1answer
39 views

Access settings not transfered in change set of site

I created a site on a sandbox. Set all Guest access and settings for the profile. The qa process is that I publish this to a 2nd sandbox. I can't upload the entire site, so I created the site on the ...
-1
votes
1answer
156 views

Enterprise Edition Force.com Site: How to use custom objects and logic to authenticate Guest Site Users without paying license costs for them?

Someone with Enterprise Edition and a public-facing Force.com Site recently asked How would a developer use custom objects and logic to authenticate Guest Site Users without paying license costs for ...
0
votes
2answers
230 views

Guest User requires authorization for sites - unsure of what debug code means!

When the Guest User for my account tries to submit a form it is told that authorization is required and they must login. When I set up a debug log for that user a bug logged with these details and I ...