How to Configure noKodr on Digital Experience Cloud

Prerequisites:

  • Ensure that the Digital Experience (Community) setting is enabled in your Salesforce org. For detailed steps on setting up a community site, please click here

  • Have a noKodr community license available.

  • If not already done, create a layout/list view in the noKodr application.

  • Ensure that the community user has been assigned the noKodr license and possesses the requisite permissions for the objects and fields utilized in creating the layout/list view within the noKodr application designer. To learn how to assign the noKodr license to a community user, please click here.

Steps:

  1. Access Digital Experience Settings: Navigate to Setup. In the Quick Find box, search for "Digital Experiences".

  2. Access Community Sites: Click on "All Sites".

    image-20241024-113412.png
  3. Enter Community Builder: Click on "Builder" next to your community site on which you want to use nokodr application.

    image-20241024-113551.png

  4. Navigate to Community Page: Find and access the desired community page where you want to use the created noKodr layout/list view.

  5. Add noKodr Components: On the left-hand side, locate the "Component" icon.

At the bottom, you will see the noKodr components labeled as "Layouts" & "List View".

  1. Drag and drop these components onto the desired location of the page.

  2. Select the noKodr layout on the right-hand side as shown in the image below

6. Publish Changes:
Once you've added the noKodr components, publish the community to make the changes visible to users.

Note: Only published layouts and list views are available for use in the community as well as in Salesforce Lightning.

Resolving Drag-and-Drop Issues for Unrendered noKodr Components in Communities

Note: This issue are from salesforce side which will be fixed in spring 2025.
so, to resolve this follow the below steps.

1.Drag and drop your noKodr layout on your website and select the created layout

2.Click on the preview button to show the layout

  1. So to resolve this issue we need to make some config changes

  2. Click on the settings button and select security and privacy

  3. On clickjack protection choose Allow framing by any page (no protection)

  4. On content security policy (CSP) select this option, Relaxed CSP: Permit Access to Inline Scripts and Allowed Hosts

  5. Next, we need to add two URLs on trusted sites for scripts one is your experience cloud website and another is a preview website. Click on the add site button

     

  6. Similarly, add the preview website but the only change is on the same URL replace the builder with live-preview, and click on the add site button

  1. After this settings click on the publish button and publish the changes

11. Now you are almost done, the last step is just to logout from your org and re-login. and open your Experience cloud to see your noKodr layout