Error "Could not find a view named x" when extending a view

Knowledge Drop

Last tested: Jul 8, 2017
 

When extending a view, remember to include the view you're extending.

include: "base.view"

view: new {

extends: [base]

}

Make sure that the string inside include is the filename (what you see on the list on the left hand side), and that the string inside extends is the actual view name. (The string defined at: view: view_name inside the view file).

Extending a view (docs)

This content is subject to limited support.                

Version history
Last update:
‎07-07-2021 01:13 PM
Updated by: