LogoLogo
Try it outResourcesAPIsAddOnsBook a demo
  • Getting Started
    • Introduction to Beefree SDK
      • Create an Application
      • Installation and Fundamentals
        • Configuration parameters
          • Configuration Reload
          • Workspaces
          • Debugging the Beefree SDK Editor
        • Methods and Events
        • Authorization Process
        • How the UID parameter works
        • Set up two-factor authentication
        • Naming conventions
      • Development Applications
      • Manage Users
      • Manage Subscriptions
    • Tracking Message Changes
    • Sample Code
    • Release Candidate Environment
  • Visual Builders
    • Email Builder
    • Page Builder
      • Integrating Page Builder
      • Embedding videos in a page
    • Popup Builder
      • Popup Builder - Getting Started
      • Testing and Integrating
      • Setting layout and size
        • Advanced settings
    • AI-Driven Design Creation
  • APIs
    • Content Services API
      • Authentication
      • Export
      • Convert
      • Row Processing
      • AI Collection
      • Brand Style
      • Check
    • Template Catalog API
      • Authentication
      • Templates
      • Categories
      • Collections
      • Designers
      • Tags
    • HTML Importer API
      • Authentication
      • Import HTML
  • Forms
    • Form Block
    • Integrating and using the Form block
      • Passing forms to the builder
      • Form structure and parameters
      • Form layout customization
      • Allowed form fields
      • Edit form field modal
  • Rows
    • Reusable Content
      • Create Reusable Content
        • Pre-build Reusable Content
          • Implement Custom Rows
        • Save Reusable Content
          • Implement Hosted Saved Rows
          • Implement Self-hosted Saved Rows
            • Self-hosted Saved Rows Concepts and Tutorial
      • Sync Reusable Content
        • Implement Synced Rows
        • Initialize Edit Single Row Mode
      • Manage Reusable Content
    • Storage for Reusable Content
      • Hosted Saved Rows
      • Self-Hosted Saved Rows
  • File manager
    • File manager application overview
      • Mime Types and Groups
  • Server-side configurations
    • Server-side options
      • Toolbar options
      • Storage options
        • Configure your AWS S3 bucket
        • Connect your file storage system
      • Content options
      • Services options
      • Undo & Changes history
      • Custom JavaScript Libraries Injection
  • Other Customizations
    • Advanced options
      • Special Links and Merge Tags
      • Content Dialog
      • Custom Color Palette
      • Font management
      • Roles and Permissions
      • Smart Merge Tags
      • Commenting
      • Custom Attributes
      • Meta Tags
      • Custom Languages
      • Display Conditions
      • Advanced Permissions
      • Custom File Picker
      • Custom Headers
    • Appearance
      • Content Defaults
      • Custom Sidebar Position
      • Content Tile Sorting
      • Content Tile Grouping
      • Loading Spinner Theme
      • Custom Tab Layout
      • Themes
      • Custom CSS
        • Change Log
    • AMP for Email
    • Collaborative Editing
      • Co-editing Integration Guide
    • Mobile Design Mode
    • Multi-language Templates
    • Cards Style and Image Round Corners
    • Hover Effect for Buttons
    • Content Area Padding
    • Line Height
    • Frontend Commands
  • Data Structures
    • Getting Started
    • Schema Catalog
    • Simple Schema
      • Template Schema
      • Definitions Schema
      • Row Schema
      • Column Schema
      • Title Schema
      • Image Schema
      • Button Schema
      • Paragraph Schema
      • HTML Schema
      • Menu Schema
      • List Schema
      • Icon Schema
      • Divider Schema
    • Row Metadata
    • Form Validation Schema
    • Comments Schema
      • Change Schema for Comments
  • Builder AddOns
    • AddOns
      • AddOns Overview
      • Partner AddOns
        • Partner AddOns directory
        • Installing Partner AddOns
        • DeepL
        • Stability AI
        • Azure AI Vision - Image Analysis
          • Alternate Text Generation with AI
          • AI Alt Text Bulk Generation
        • AI Writing Assistant
          • Available Providers
            • OpenAI
            • Azure OpenAI
            • Anthropic
          • AI Providers and Data Security
          • AI-Generated Meta Tag Fields
          • Token Upselling
          • Apply a Brand Tone
        • Custom AI Writing Assistant
      • Custom AddOns
        • AddOn Development
        • Contribute to the Partner AddOn Marketplace
      • AddOns Configuration
      • AddOn FAQs
  • Resources
    • Error Management
      • onWarning
      • Beefree SDK Editor Errors
      • File System Provider errors
      • JSON Parser errors
      • Template Validation and Update
      • Template validation and update errors
    • Scheduled maintenances
Powered by GitBook
LogoLogo

Policies

  • Privacy & Cookies
  • Terms of Services
  • GDPR Compliance
  • Trust Center

Contact Us

  • Submit a request
  • Book a demo
  • Report a security issue
  • Beefree SDK Startup Program

Resources

  • Developer website
  • Create a Developer Account

© Bee Content Design, Inc. San Francisco, CA | Part of Growens

On this page
  • Adding client-side configurations for AddOns
  • Example
  • AddOns Configuration in the Client Config
  • Supported AddOn IDs for Configuration
  • Parameters

Was this helpful?

Export as PDF
  1. Builder AddOns
  2. AddOns

AddOns Configuration

Learn more about client-side configuration for Custom and Partner AddOns.

Adding client-side configurations for AddOns

Once you have initialized Beefree SDK, you can pass a series of configuration parameters to it.

The AddOn section of the configuration allows you to override the parameters you configured in the Beefree SDK Console, on a per-user basis.

For example:

  • You can have an AddOn enabled at the application level, but disabled for users on a lower plan (so they have to upgrade to a higher plan in your app to get it).

  • You could change the language used for the AddOn text labels depending on the language used for the builder, for that user.

  • Etc.

Example

The following code displays an AddOn configuration example.


addOns: [
  {
    enabled: true,
    id: "", 
    label: 'Default title label override',
    ctaLabel: 'Default CTA label override',
    placeholder: 'Default stage placeholder override',       
  },
  {
    enabled: false,
    id: "",
  }
]

AddOns Configuration in the Client Config

The editable parameter is a boolean that controls whether the content associated with a specific content AddOn can be modified by users. By default, this boolean is set to false, meaning the content is locked and cannot be edited. When set to true, the content becomes editable, allowing users to make changes as needed. However, it’s important to note that this parameter only applies to content AddOns and has no effect on row or mixed content AddOns. This feature provides flexibility in managing user permissions and ensuring that only intended content can be modified, enhancing control over the editing experience.

The following code snippet shows an example of how to configure an AddOn of type Paragraph.

      
      addOns: [
        {
          id: "paragraph",
          editable: true,
        },
      ],
      

In the following code snippet, you can see additional examples of AddOn configurations for other content types.


      addOns: [
        {
          editable: true,
          id: "html",
        },
        {
          editable: true,
          id: "button",
        },
      ],

Note: The editable boolean has a default value of false. If this boolean is set to true, the content related to that content AddOn will become editable.

Supported AddOn IDs for Configuration

When configuring your code for AddOns, it's important to note that each AddOn has a specific type that is identified by its id. Below are the supported content types that can be used as AddOn IDs:

  • Image: For adding and configuring images.

  • HTML: For embedding custom HTML code.

  • Mixed: For a combination of various content types.

  • Row: To structure content in rows.

  • Paragraph: For text paragraphs.

  • Button: To add call-to-action buttons.

  • Title: For headings and subheadings. Set the id to heading in your configuration.

  • List: For ordered and unordered lists.

  • Menu: For navigation menus.

  • Icon: To include icons.

Using these IDs correctly when defining your AddOn configurations ensures that the correct content type is implemented within your application.

Parameters

This section provides an overview of what each parameter does.

Understanding the Parameters

  • enabled: Determines if the AddOn is available within your application. Set to false to disable the AddOn.

  • id: A unique identifier for the AddOn. This is important for distinguishing between different AddOns.

  • label: A brief text that represents the AddOn’s purpose or content. It is displayed within the user interface.

  • ctaLabel: Call-to-Action text encouraging the user to interact with the AddOn.

  • placeholder: A short guide or prompt displayed before the AddOn content is initialized or added.

  • editable: Controls whether the AddOn's content can be edited by the end user. When set to true, editing features are enabled.

Parameter
Type
Description

enabled

Boolean

When false, the AddOn content is not displayed in the Content tab.

id

Number

Identifies the AddOn by using the handle provided in the configuration form.

label

Text String

The text string displayed for the AddOn tile in the Content tab.

ctaLabel

Text String

The text string displayed in the button that triggers the AddOn action.

It’s displayed in:

  • The content placeholder (before any content is applied)

  • The content properties

placeholder

Text

Text displayed in the content placeholder to provide further information about the content.

editable

Boolean

A boolean with a default value of false. If this boolean is set to true, the content related to that content AddOn will become editable. Note: This parameter has no effect for row or mixed content AddOns.

PreviousContribute to the Partner AddOn MarketplaceNextAddOn FAQs

Last updated 4 months ago

Was this helpful?