Umbraco-CMS: Custom view for block list editor returns 404 if placed in Views folder
In Umbraco v8.7 custom views can be adding for block list editor.
It is probably recommended to place this inside App_Plugins folder, however since the file picker is using starting from root level, you can also pick any html files at root level or e.g. inside Views folder.
https://our.umbraco.com/Documentation/Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Block-List-Editor/#write-your-own-html-view
If selecting a html file placed in Views folder, then block editor throws an 404 error when accessing the content node with the block list editor.
https://our.umbraco.com/forum/using-umbraco-and-getting-started/103488-specifying-a-custom-view-for-block-configuration-returns-404

About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 18 (17 by maintainers)
@nielslyngsoe I think it is better than what we have now and avoiding this error with custom views inside
~/Viewsfolder. I can always be improved later then 👍and probably some update in the documentation recommeding placing custom views in e.g.
App_Pluginsor at root level.Maybe something like this for now? I can still select
htmlview inApp_Pluginsand at root level, but not inViewsfolder (or the other blacklisted folders).