26

The answer we received from Salesforce Tech support is that before the Winter 17 release, if you turned on debugging for a Site Guest User, you might receive an avalanche of debug logs if many different people were accessing your Force.com site at the same time. After the Winter 17 release, you now also need to set a server cookie in the browser to enable ...


8

The Guest "User license" is designed for public users who access your Site.com or Force.com sites. If Communities is enabled, these users will also have access to public pages in your communities. Site visitors have access to any information made available in an active public site. For each Guest "User license", you can develop one site for your organization....


5

This has to do with the test class quering users and assigning the ownership of records to the user queried. In your case the system is returing a community user. Change the query to return a particular user profile or insert a new user and use it to assign the record ownership.


4

We had the same issue today, it was working fine before. The issue got resolved : Added the 'Search Pages' under the Site Standard Pages section in Site Detail Page, and it worked. Now there are 'Look Up Page' and 'Search Pages' under Site Standard section. Salesforce Support tech helped us to resolve this.


4

I have done something similar to make a call to the Salesforce Rest API from lightning (well technically Apex). The session that lightning produces is an isolated session that can't be used anywhere else. It is specific to lightning only. In my use case, I needed to get some information about a list view that wasn't exposed in describe calls or querying the ...


4

Set up records that need sharing in @testSetup. The share records will be visible for all unit tests after @testSetup completes. By using @testSetup, things that occur "after the transaction", such as record sharing, are created. Tests that use those records will then have access to those records. Confirmation @isTest class q293720 { @testSetup ...


3

There are two issues at play here: record sharing or "ownership" (controlled by "sharing settings" and org-wide defaults), and CRUD permissions. They are different. It sounds like you set up record sharing correctly, but failed to grant CRUD access to the detail object. In the permission set, navigate to the Object Settings for the detail object and make ...


3

From the SFDC Master Subscription Agreement 4.2 Usage Limits. Services and Content are subject to usage limits, including, for example, the quantities specified in Order Forms. Unless otherwise specified, (a) a quantity in an Order Form refers to Users, and the Service or Content may not be accessed by more than that number of Users, (b) a User’s password ...


3

As i understand your requirement you need to add this page to Guest User profile and assign this page in site. Then you can access this page without Login. Note: Make sure you also give access to all object to guest user profile which you are using in this page otherwise it will give you exception.


3

Click Public Access Settings button on the Site record in Setup. That will give you the Profile. To get to the User, click Assigned Users button in the Profile.


3

The Lightning Framework has a localization service that you can use in your JS to format date/time values which should be helpful to you with your issue. // get currrent date/time and localize based on user's browser settings var dateFormat = $A.get("$Locale.dateFormat"); var dateString = $A.localizationService.formatDateTime(new Date(), dateFormat); // ...


3

Do the have access to the account record? If so Setup -> Develop -> Sites Click site name Public access settings Provide permission to the associated profile (Shipping Address is the field name) If they do not have access to the account Create a variable in the controller to hold the shipping street value Use that variable to update the records field via ...


3

Go to Build -> Develop -> Sites, click on your Site/Community name and click on Public Access Settings button. It would open up the Profile for guest user. And in this page if you click View users, it shows Guest User. You can configure your custom self register page in Guest user profile, by adding it to Enabled Visualforce Page Access related list. ...


3

Yes, your guest user can create, update, and delete records if they have the appropriate profile permissions. To view the profile permissions for the Site.com Guest User, go to Setup > Develop > Sites > Site Label > Public Access Settings > Object Settings, and adjust the objects and fields you want to enable access to. Note that you still need to write your ...


3

Partner support have replied to me and provided a working solution! Follow this tutorial https://developer.salesforce.com/blogs/developer-relations/2017/05/build-lightning-file-uploader-component.html but change the file upload apex class to 'without sharing'. Then embed the component within a flow following from the record creation passing through the new ...


3

Quoting a section from this help topic: https://help.salesforce.com/articleView?id=security_sharing_rule_types.htm&type=5 You can’t use Apex to create a criteria-based sharing rule. And you can’t test criteria-based sharing using Apex. I'm assuming the new Guest User Sharing rules fall under this bracket and therefore can't be used in Unit Testing. ...


3

There is a critical update called "Restrict Access to @AuraEnabled Apex Methods for Guest and Portal Users Based on User Profile".If you have this critical update enabled in your org then the guest users will not be able to access the @AuraEnabled apex classes unless you give the access on profile level. Please refer the release notes to see the ...


2

Per the docs your options for sender are limited to: CurrentUser—Email address of the user running the flow. (Default). (this should be the email address of the site guest user, though I'm not sure if that can be customized or not) DefaultWorkflowUser—Email address of the default workflow user. OrgWideEmailAddress—The organization-wide email address that ...


2

Site Guest user can only have CREATE and READ access to Account object. So, even if you assign FLS to Shipping Address field as Read or Edit, result will show false.


2

Do communities evaluate the Record requested when determining if a page should be accessible? Yes they evaluate access based on the user/guest user. check documentation here on how they check page/record access.Below is how the hierarchy of access works. We have decided to set the community global default to private, and then make the pages we want ...


2

I tried following the steps mentioned here- https://techiesexpress.blogspot.com/2020/12/how-to-embed-survey-component-in.html and I was able to make it work. Check if that helps! Pre-requisites Go to Setup-->All Community and create a new community by choosing any template. Once the community gets created, click on the builder. In the builder, click on ...


2

I don't think you can do it due to the external sharing restrictions on the object for the site guest user. Even if you manage to find some workaround using without sharing in apex etc., be mindful of the new security updates coming up for the guest user documented here. That means that as of March 2020 the user will be even more locked down and limited to ...


2

I found them using the Salesforce Inspector Chrome Add-on on a profile in my org. I click on show all data (tooling api) and see the below which matches up well with what you already got: permissionsenablenotifications - Send Outbound Messages. permissionsemailtemplatemanagement - Manage Email Templates permissionsemailadministration - Email Administration ...


2

Thanks @KrisGoncalves Now that I see this, an alternative answer is to use Workbench and do a describe on the profile sobject (albeit, less convenient than seeing it all laid out per the Salesforce Inspector)


2

There's a specific profile for Guest Users. If you give that profile access to the objects you want to expose, the Flow will work as expected. Main docs are here. A lot of things changed in Winter '20, so read up here.


2

Do you have the "Allow site guest users to upload files" checkbox checked? If not, you can go to Quick Find > General Settings > Allow site guest users to upload files (check it). You need to activate the Sites domain too, you can find it on Quick Find > Sites and do the setup. I hope this helps! I'll leave a link to the documentation: ...


2

@Koustubh, I ran into this same issue today. I was deploying a single controller class for a lightning component that had nothing to do with communities and received the same error. I also already had default owners set for each community and had the community setting enabled to enforce the default owner for records created by guest users. I "solved&...


2

Use the Attribute ignoreEditPermissionForRendering = "True" for apex:inputFIeld for the resolution. Please find the latest release notes. https://releasenotes.docs.salesforce.com/en-us/winter21/release-notes/rn_networks_entity_input_field_update_228.htm


2

Guest User profiles are limited in nature. They are unauthenticated Community users, and as such, have restricted permissions compared to a normal, logged in user, including what kind of data/objects they can access, and what they can do. I don't see a specific entry stating that they can't use org-wide email addresses, but since they have read-only access ...


2

It should still work if you are using Without Sharing, but it's challenging. For input fields, you will need to add the new ignoreEditPermissionForRendering attribute on apex:inputField. This will allow you to override entity the lack of edit permission for the guest user. However, it doesn't always seem to work - e.g. Rich Text can be an issue. But if the ...


Only top voted, non community-wiki answers of a minimum length are eligible