I would like to give page editors the ability to create cshtml scripts in the Settings section as I do not want them to have access to the macro cshtml scripts in the Developer section, does anyone know how to achieve this?
I know I can add the cshtml extension to the umbracosettings config file to allow the creation, but it is the parsing that is the problem, these files don't recognise html etc...
Scripting folder in Settings section
I would like to give page editors the ability to create cshtml scripts in the Settings section as I do not want them to have access to the macro cshtml scripts in the Developer section, does anyone know how to achieve this?
I know I can add the cshtml extension to the umbracosettings config file to allow the creation, but it is the parsing that is the problem, these files don't recognise html etc...
why not move the scripting folder out of the developer section and into the settings section?
if >= u4.8 you can simply amend the config/trees.config file
otherwise it's a simple database modification in dbo.applicationtrees table.
Running 4.9 and tried that, it did not work
did you touch the web.config or recycle the app pool?
no to both
after making config changes... you need to do one or the other.. ;-) for the changes to be reflected
that worked, thanks
is working on a reply...