Skip to content

Latest commit

 

History

History
 
 

external-api-lookup-template

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

External API Lookup Template – Contentstack Field Extension

About this Extension

The External API Lookup extension lets you fetch data from an external API and display the data as possible values for the field on an entry page in Contentstack.

Note: For this example, we have used Reqres that provides demo data. External API Lookup extension demo

How to use this extension

We have created a step-by-step guide on how to create an External API Lookup extension for your content types. You can refer the External API Lookup extension guide on our documentation site for more info.

Modifying Extension

To modify the extension, you first need to clone this repo and install the dependencies. Then, edit the HTML, CSS, and JS files from the source folder, and create a build using gulp task.

To install dependencies, run the following command in the root folder:

npm install gulp-cli -g
npm install

To create a new build for the extension, run the following command (index.html):

gulp

To run source watch, run the following command:

gulp watch

Other Documentation