cs-icon.svg

Color Picker App Installation Guide

To further enhance the business user experience, Contentstack provides prebuilt custom field apps that let you extend the functionality of your custom fields to serve your unique business needs while providing a native Contentstack look and feel.

With the Contentstack Color Picker app and Custom Fields, you can now select a color as an input. With the Color Picker custom field, you can select and adjust color values.

For example:

  • You can use the app for changing the color of the custom built web pages dynamically.
  • In an eCommerce website, a set of colors can be used as a filter for products which can be stored in Contentstack CMS.

Prerequisites

Let's follow this step-by-step guide to install and configure Color Picker within your stack.

Steps for Execution

  1. Install and Configure Color Picker in Contentstack Marketplace
  2. Use Color Picker within your Stack
  1. Install and Configure Color Picker in Contentstack Marketplace

    Follow the steps to install the application in Contentstack.

    1. Log in to your Contentstack account.
    2. In the left-hand side primary navigation, click the Marketplace icon to go to the Marketplace.
      Marketplace-Icon.png
    3. Click Apps from the left panel.
    4. Within the Marketplace, you can see all the available apps. Hover over the Color Picker app and click Install App.Color-Picker-App.png
    5. In the popup window, select the stack where you want to install the Color Picker app and click the Install button.
      Color-Picker-Install-App
    6. On the UI Locations tab, you can see the predefined app locations. You can use the toggle button corresponding to each UI location to enable or disable it based on your requirements.Color-Picker-UI-Locations

    7. Note: No additional configuration is required to use the Color Picker app.

  2. Use Color Picker within your Stack

    To use the Color Picker application within an entry of your stack, follow the steps given below:

    1. Go to your stack, click the Content Models icon in the left navigation panel, and click the + New Content Type button.
    2. Create a content type by adding relevant details as displayed below:
      Color-Picker-Content-Type.png
    3. In the Content Type Builder page, add a Custom field in your content type by clicking the Insert a field link represented by a + sign.
    4. Under Select Extension/App, select Color Picker, and click the Proceed button.
      Color-Picker-Custom-Field-Select-App.png
      Color Picker is added in the custom field.Color-Picker-Custom-Field.png
    5. After adding the app in a custom field, click Save or Save and Close to save your changes.
    6. To use the Color Picker app, create an entry for this content type. In the left navigation panel, navigate to the Entries page, click + New Entry to create a new entry for the above content type, and then click Proceed.
      You will see the Color Picker custom field on your entry page as shown below:Color-Picker-Sample-Entry.png
    7. You can pick a color by dragging the cursor or providing the color codes.
      Color-Picker-Details.png
    8. After setting the slider, Save and Publish your entry.
Was this article helpful?
^