🎈 Welcome to the Marketplace — Explore and discover the ecosystem around DatoCMS, and share your own work with the community!

Open Asset Button

Add a one-click download button to single asset fields in DatoCMS

This is a Community Plugin! Learn how create your own plugin, or copy and remix existing ones in our documentation

Open Asset DatoCMS plugin

A plugin to add a one-click download button to single asset fields in DatoCMS.

Configuration

Please specify a read-only DatoCMS API key on the plugin global settings:

Demo

Usage

To add a download button to a single asset field, choose "Open Asset" as a field add-on.

Install

Development

Install all the project dependencies with:

yarn install

Add this plugin in development mode to one of your DatoCMS project with:

yarn addToProject

Start the local development server with:

yarn start

The plugin will be served from http://localhost:5000/. Insert this URL as the plugin Entry point URL.

Publishing

Before publishing this plugin, make sure:

  • you've properly described any configuration parameters in this README file;
  • you've properly compiled this project's package.json following the official rules;
  • you've added a cover image (cover.png) and a preview GIF (preview.gif) into the docs folder.

When everything's ready, just run:

yarn publish
Open Asset Button
Add a one-click download button to single asset fields …
Publisher
Author gravatarnspehler
Package
Visit NPM
Plugin type
Field addon
Compatible with fields
Single file
Current version
1.0.2
Installs count
Last update