Newer Version Available

This content describes an older version of this product. View Latest

Add CMS Connect (JSON) Components to Your Community Pages (Beta)

Ready to show external JSON articles and blogs on your community pages? To display your content just the way you want, use the property editor in the Community Builder to customize your component layout.

Before you can add JSON components to your community pages, set up connections to your JSON CMS content. The connection defines the content lists and content items to display. It also specifies the path to your content.

After you set up the connection, you’re ready to configure how the content appears on your community pages.

  1. In Setup, enter All Communities in the Quick Find box, then select All Communities.
  2. Next to the community name where you want to add CMS content, click Builder.
  3. Click Components icon to open the Component panel.
  4. Drag a CMS Connect (JSON) component to where you want to display it on the page.
  5. In the component’s property editor, configure component properties.

Example

Let’s say you want to display a list of blogs on your page.

Content List Display

  1. In the property editor, select the CMS source you defined as a connection. Select a content list as your JSON content, and configure JSON expressions for the component properties. For example, the JSON expression @posts points to the starting node in the list.

    JSON Property Editor part 1

  2. Define the grid layout for your list.

    JSON Property Editor part 2

  3. To configure the layout of each list item, enter JSON expressions in that section.

    JSON Property Editor part 3

  4. Configure how you display each blog item, either through a community page or an external link.

    JSON Property Editor part 4

After you save the settings, you see a preview of the content in the page area.

JSON in Builder

Detail Page

Notice the Read More link for each item? After you publish your changes, you can click a link under a blog item in the series. When you click the link, you see an external page or a community page that’s created dynamically for each content item in your content list.

This release contains a beta version of the JSON connector, which means it’s a high-quality feature with known limitations. The JSON connector isn’t generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. We can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features. You can provide feedback and suggestions for CMS Connect in the Community Cloud group in the Trailblazer Community.

Note