Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.23 KB

README.md

File metadata and controls

29 lines (23 loc) · 1.23 KB

default-datasources

A Collections of Datasources for the develop of website's using Storyblok.


What is default-datasources

Datasources enables you to use a specific set of data (countrylists, grid-widths or any other key/value paired source) in a single & multi choice field type in the Storyblok component part editor.

Format

The format for the key / value pairs in Storyblok looks like this:

[
 {
   "name":"DISPLAYED_NAME",
   "value":"SAVED/DELIVERED_VALUE"
 }
]

How to use a Datasource

How to use a datasource

What about the Datasources in Storyblok itself?

If you have Datasources which should be only for one project and will change for the next (catgories, ...). You can also use those Datasources in single & multi choices and access it using the Delivery API as descriped in our Delivery API / Datasource Entries Documentation.