Contentful

Filerobot Contentful App

The features of the Filerobot Contentful App include:

  • Asset Manager widget in Contentful Content Management;

  • Multiple file type support;

  • Metadata sync: asset metadata from Filerobot will show on your Rest/GraphQL response.

There are 3 simple steps for enabling the App on your Contentful instance

  • (prerequisite) Have a Contentful Account;

  • Obtain a Filerobot token (request it here);

  • Install the Filerobot App from the Marketplace;

  • Add your security configuration parameters to access your Filerobot library.

Installation

Prerequisites

  1. Register for a demo if you don't already have a Filerobot account.

  2. Sign up to Contentful.

Contentful is 100% Cloud Native, so you have to sign up for a hosted CMS at https://be.contentful.com and you will get a link to your space:

https://app.contentful.com/spaces/{Your Space ID}/home

Step 1. Install from Contentful Marketplace

Find it here https://www.contentful.com/marketplace/ and install it or click install now on https://www.contentful.com/marketplace/app/scaleflex-filerobot/.

Step 2. Configure the app

  • Filerobot Token: Your Filerobot token from the Asset Hub interface;

  • Security Template Identifier: Security template ID, found in the Developers top menu;

  • Filerobot upload directory: This is the top storage folder for your assets;

  • Assign to Fields: The app supports only the JSON Object Field, you can choose which field will be used by the app.

Usage

With the Asset Manager (1) button you can open the FMAW (Filerobot Media Asset Widget):

You can upload new assets with the Upload button (2):

or choose assets existing in your container (3) and Add (4) them:

You can delete a specific asset ot clear all of them (5):

JSON format

{
   ...
    "fields": {
        "image": [
            {
                "id": "4f9a6f7b-cdfd-5e4e-9ed3-a3ce9b435300",
                "url": "https://fkklnkdm.filerobot.com/v7/wp_demo/some_image.jpg",
                "meta": {
                    "test": null,
                    "title": {
                        "en": "12-DSC_7576-final-credit-ESA_A.Conigli-1"
                    },
                    "animal": null,
                    "description": {
                        "en": ""
                    },
                    "test-number": null,
                    "publish_date": null
                },
                "name": "12-DSC_7576-final-credit-ESA_A.Conigli-1.jpg",
                "type": "image/jpeg",
                "extension": "jpg"
            },
            {
                "id": "f0db7b04-c4eb-5470-86f2-a3ce9b435300",
                "url": "https://fkklnkdm.filerobot.com/v7/wp_demo/some_image.jpg",
                "meta": {
                    "test": null,
                    "title": {
                        "en": "some_image"
                    },
                    "animal": null,
                    "description": {
                        "en": ""
                    },
                    "test-number": null,
                    "publish_date": null
                },
                "name": "some_image.jpg",
                "type": "image/jpeg",
                "extension": "jpg"
            },
            {
                "id": "4f9a6f7b-cdfd-5e4e-9ed3-a3ce9b435300",
                "url": "https://fkklnkdm.filerobot.com/v7/wp_demo/some_image.jpg",
                "meta": {
                    "test": null,
                    "title": {
                        "en": "some_image"
                    },
                    "animal": null,
                    "description": {
                        "en": ""
                    },
                    "test-number": null,
                    "publish_date": null
                },
                "name": "some_image.jpg",
                "type": "image/jpeg",
                "extension": "jpg"
            },
            {
                "id": "f0db7b04-c4eb-5470-86f2-a3ce9b435300",
                "url": "https://fkklnkdm.filerobot.com/v7/wp_demo/some_image.jpg",
                "meta": {
                    "test": null,
                    "title": {
                        "en": "some_image"
                    },
                    "animal": null,
                    "description": {
                        "en": ""
                    },
                    "test-number": null,
                    "publish_date": null
                },
                "name": "some_image.jpg",
                "type": "image/jpeg",
                "extension": "jpg"
            },
            {
                "url": "https://fkklnkdm.filerobot.com/v7/wp_demo/sample.pdf?func=proxy",
                "id": "3a97dc99-6b18-5602-a604-654925e52000",
                "name": "sample.pdf",
                "type": "application/pdf",
                "meta": {}
            },
            {
                "url": "https://fkklnkdm.filerobot.com/v7/wp_demo/Image_PersonalUse.otf?func=proxy",
                "id": "7a9cff06-ccf2-5531-b754-98f403a52000",
                "name": "Image_PersonalUse.otf",
                "type": "application/vnd.ms-opentype",
                "meta": {}
            },
            {
                "url": "https://fkklnkdm.filerobot.com/v7/wp_demo/Image.html?func=proxy",
                "id": "f532448d-e6b1-5b74-adff-67f5a7d52000",
                "name": "Image.html",
                "type": "text/html",
                "meta": {}
            },
            {
                "url": "https://fkklnkdm.filerobot.com/v7/wp_demo/Financial+Sample.xlsx?func=proxy",
                "id": "d2c8f2f9-0968-5556-b878-288a41750001",
                "name": "Financial Sample.xlsx",
                "type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
                "meta": {}
            }
        ],
        ...
    }
}

Last updated