Skip to content

Reference field custom extensions let you fetch entries from multiple content types in a field of your content type. In addition, it lets you use entries from the referenced content types as inputs in your field.

License

Notifications You must be signed in to change notification settings

contentstack/reference-field-extension

Repository files navigation

Reference Field – Contentstack Extension

About this extension

The Reference field custom extension allows you to fetch entries from multiple content types of your stack into a field of your content type. Using this extension, you can define fields that refer to content from other content types as entries in your custom fields. It allows you to access and use entries from the referenced content types as inputs within your field.

Additionally, the Reference field extension also allows you to add raw queries to get specific entries as required. These queries should be added as config parameters while setting up the extension.

Reference Field gif

How to use this extension

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

Other Documentation

Modifying Extension

To modify the extension, first clone this repo and install the dependencies in both the react apps. Then, edit the files as required, and create a build for both the apps.

To install dependencies, run the following command in the /reference-field and /reference-field-popup folder

npm install

To create new build, run the following command in the /reference-field and /reference-field-popup folder

npm run build

About

Reference field custom extensions let you fetch entries from multiple content types in a field of your content type. In addition, it lets you use entries from the referenced content types as inputs in your field.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published