function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mahesh GorrepatiMahesh Gorrepati 

How can we give acees to the Guest users in the Experience cloud site?

VinayVinay (Salesforce Developers) 
Hi Mahesh,

Check below steps to set up the experience site for guest users in salesforce.

https://help.salesforce.com/s/articleView?id=sf.mfs_appointment_assistant_sss_user_profile.htm&type=5
https://www.youtube.com/watch?v=5CtEKIp1TG0

Please mark as Best Answer if above information was helpful.

Thanks,
French LeoFrench Leo
To grant access to guest users in the Experience Cloud site, you can follow these general steps:
Sign in to the Adobe Experience Cloud Console: Go to the Adobe Experience Cloud website (experiencecloud.adobe.com) and sign in using your administrator credentials.

Navigate to the Admin Console: Once signed in, click on the "Admin Console" link in the top navigation menu. This will take you to the administration interface.

Manage Access: In the Admin Console, locate the section related to user access management. The specific location may vary depending on your organization's setup and the version of Adobe Experience Cloud you are using. Look for options such as "Users and Access," "Access Management," or "Identity & Access Management."
Add a Guest User: Within the access management section, there should be an option to add a new user or invite a guest user. Click on this option to start the process.

Fill in User Details: Provide the necessary details for the guest user, including their name and email address. Some organizations may require additional information such as a username or job title.
Assign Permissions: Specify the access permissions and privileges for the guest user. You may have options to choose from predefined roles or create custom roles with specific access levels. Ensure that you grant appropriate permissions based on the guest user's intended actions and responsibilities.

Set Expiration (if applicable): If you want to limit the duration of the guest user's access, you can set an expiration date or specify the validity period. This helps ensure that access is automatically revoked after a certain period.

Send Invitation: Once you have provided all the necessary information and configured the permissions, send the invitation to the guest user. They will receive an email with instructions on how to access the Experience Cloud site.

Monitor and Manage: After granting access, monitor the guest user's activities, especially if they have elevated privileges. Regularly review and update access permissions as needed to maintain security and compliance.

It's important to note that the specific steps and options may vary depending on the version of Adobe Experience Cloud and the configurations set up by your organization. If you encounter any difficulties or need more specific instructions, it's recommended to refer to the official Adobe Experience Cloud documentation or contact Adobe support for assistance. See my web: https://goappsplay.com/betflix-mod-apk/
Arun Kumar 1141Arun Kumar 1141

Hello Mahesh,

You can do any of the following to grant guests access to the Experience Cloud website:

  • Enable Guest User Access: Select "Digital Experiences" or "Experience Cloud" from the Salesforce Setup menu. You can then make it possible for visitors to your site to access it openly.
  •  Setup Guest User Profile Settings: Locate the "Users" section of the Salesforce Setup menu and choose "Profiles". Find the Guest User-related profile and make the necessary changes to it. Provide the required object and field access while keeping security precautions in mind.
  • Define Object and Field Permissions: You must specify the permissions for objects and fields within the Guest User's profile. Identify which objects and fields they should have access to in order to read, create, edit, or delete. Keeping access to a secure environment in mind, restrict it to what is necessary.
  • Create and personalise public websites: Salesforce enables you to design new or edit already-existing public websites. In this step, the site's style, layout, and pages are customised to meet your demands. Additionally, make sure Guest visitors can properly interact with the site by configuring the navigation and access controls.
  • Publish the Experience Cloud Site: Once the required configurations and customizations have been finished, publish the Experience Cloud site. It is now available to outside users, including Guest users, as a result of this action. Test the website thoroughly to ensure that visitors can access the appropriate material and take the desired activities.

Note that depending on your particular Salesforce version and setup, the actual process may differ from what is outlined in these stages. While granting access to Guest users on the Experience Cloud site, it is vital to make use of the Salesforce documentation and take your organization's security standards into account.

Hope the above answer resolve your query, please mark it as best answer.
Thanks.

Mahesh GorrepatiMahesh Gorrepati
@Vinay  

I am unable open the open the link you provided.
 kindluy check.

 
VinayVinay (Salesforce Developers) 
Can you please check now?

Thanks,
Mahesh GorrepatiMahesh Gorrepati
i did the process. but the user is unable to invoke the apex class. i am unable to see this  invoaction in logs.
Mahesh GorrepatiMahesh Gorrepati
Can we invoke a apex class from experience site used in LWC component?

No, you cannot directly invoke an Apex class from an Experience Site in a Lightning Web Component (LWC). Experience Sites are designed to provide a public-facing website experience for external users and do not have direct access to Apex code.

However, you can leverage Salesforce APIs to interact with your Apex code indirectly. You can create a custom Apex REST or SOAP web service that encapsulates the functionality you want to invoke. Then, from your LWC component hosted on the Experience Site, you can make HTTP requests to that custom web service to perform the desired actions.

Here's a general outline of the steps involved:

1.Create a custom Apex class that exposes the desired functionality as a REST or SOAP web service.
2.Configure the necessary access permissions for the custom web service to be accessible from the Experience Site's guest user profile.
3.In your LWC component, use the standard fetch() or XMLHttpRequest API to make an HTTP request to the custom web service endpoint.
4.Handle the response from the web service in your LWC component and update the UI accordingly.
By following this approach, you can indirectly invoke the functionality of your Apex class from the LWC component hosted on the Experience Site.

IS it really True?