https://discord.umbraco.com logo
#package-development
Title
# package-development
i

Ian Houghton

09/06/2022, 11:16 AM
Hi @jespermayntzhusen I've followed that guide and have got a couple of required text fields working ok. What I need to add now, is a custom button at the bottom of editor config view, that I can hook up to some custom angular.
j

jespermayntzhusen

09/06/2022, 11:25 AM
In the example it specifies the view as "boolean" (both the package.manifest and the C# examples). That means it expects it to be based on a standard Umbraco view, so it looks for one called boolean. You can specify your own view instead via a relative path
"App_Plugins/YourPackageName/Views/config.html"
fx. That view can then be hooked up to an Angular controller that you also register in the JS section of the package manifest then it should allow you to show that view and do your own angular logic
i

Ian Houghton

09/06/2022, 11:26 AM
Fantastic, thanks, i'll give that a go
j

jespermayntzhusen

09/06/2022, 11:27 AM