Custom and Live components - Fluid Topics - Latest

Fluid Topics Designer Guide

Category
Reference Guides
Audience
public
Version
Latest

Custom and Live components allow developers to create a component with HTML, CSS, and JavaScript code.

There are different variants of Custom and Live components:

  • Users can edit Custom and Custom (page) directly in the Fluid Topics interface.
  • Users can edit Live and Live (page) locally, and run them in Fluid Topics from a local HTTP server.

    Developers cannot publish these components publicly. Developers can convert Live components to Custom components for public use. See Live component procedure.

  • Custom (page) and Live (page) components have access to the current page's metadata when using pagination. They are otherwise identical to Custom and Live components.

  • Custom (search) and Live (search) components have access to information about the current search in a Search block. They are otherwise identical to Custom and Live components.
  • As for all components, only one person at a time should edit a Custom component to avoid conflicts.
  • The code for Custom components is public. Do not add credentials in a Custom component.

PORTAL_ADMIN users can only edit Custom components if an ADMIN user has disabled the Custom code toggle.

  • By default, Live components do not appear in published designed pages. Developers can display Live components in published designed pages locally by adding ?version=draft at the end of a URL.
  • The Custom component screencast also contains information about configuring a Custom component.