This will reset the editor to the default JSON display for object fields. To access the underlying field value, deselect the field in the Dropbox app configuration. Now you can start to add media to your entry. Then select I want to override the value using the App., which will initialize the field with an empty selection. Please ensure that you've selected the correct field in the app configuration to be used with Dropbox, and that you do no longer need the previously entered data. The JSON object field of this entry already contains data that was not generated by the Dropbox app. What to do if the entry editor displays the warning Field value is incompatible ?
Learn more about the JSON Object field type in our concepts documentation.
#DROPBOX DEVELOPER SUPPORT UPDATE#
If you'd like to associate Dropbox assets with a specific content type, you must update that content type to include a new field which is of type JSON Object. There are no content types with JSON Object field, help!ĭropbox saves data into a Contentful entry using JSON data. Previews of your assets will now appear in your entry. Select the assets in Dropbox using the dialog To reference an asset on Dropbox from your entry:
#DROPBOX DEVELOPER SUPPORT HOW TO#
Please note that only compatible fields of type JSON object are displayed here.Ĭlick Install to finish the installation and save the configuration Step 2: How to use the app Under field assignment, select the content type fields that you want this app to be used for. To use this app, you will need a content type with a field of type JSON object to hold the references to Dropbox assets. Inside your client application, you then fetch content from Contentful and resolve all needed details on media by stored URLs. The IDs of selected media are then stored in Contentful. Simply click Select or upload a file on Dropbox and select the assets you want to be referenced from your entry. The Dropbox app is a widget that allows editors to select media from their Dropbox account. After you’ve installed the Dropbox app, you can easily reference assets from your Dropbox account directly inside the Contentful web app.