Link to record info in a smart view

This example shows you how to redirect to:

  • the detail view of a record

  • the detail view of the associated record

in a smart view.

Here a Book belongsTo an Author. We will see how to redirect to the book detail view and author detail view from a book gallery view.

Requirements

  • An admin backend running on forest-express-sequelize

How it works

Directory: /models

This directory contains the books.js and authors.js files where the models are defined.

File: template.hbs

This file contains handlebars and HTML declaration.

File: javascript.js

This file handle all events or actions

Last updated

Was this helpful?