Umbraco 13 - Upgrading Old Umbraco 8 App_Plugin to...
# help-with-umbraco
v
Hey there! I appreciate you taking the time to read my post. Right now I am working on upgrading a customer site from Umbraco 8 to 13. In the BackOffice this customer has two custom sections for managing some custom data and preforming a few common/simple tasks related to user management. I am having a hard time trying to upgrade these. For context, since there are a lot of breaking changes and this customer also wants to start using USkinned we are basically rebuilding the entire project in a fresh Umbraco 13 install, then are porting over the old behavior and converting it based on .NET Cores "new" requirements and standards (new is relative to the project of course). The plugins themselves simply do not want to install/run when I add them to the App_Plugins folder. I am having a hell of a time trying to debug, find documentation, and simply work on these plugins. Right now I have the C# file's build actions set to
C# compiler
and they do show LSP indicators in visual studio and are able to access namespaces from my other classes in my code that are reusable. Where would someone recommend starting? I am thinking that it might be worth building my own plugin from scratch as a little demo to see what configuration/directory structure is missing/incompatible with these older projects but can't find any docs related to adding this type of plugin in the umbraco docs. I do see the angular stuff however, we want to try and avoid using that as best we can due to time constraints and the general overhead of learning and adding that to our developer required understanding for a project like this. I appreciate anyone who responds and is able to point me in the right direction! Thank you!
l
Just a thought, but you are trying to learn everything for Umbraco 13, but in Umbraco 14+, you need to learn a lot of things again because of the new backoffice. Why not go for 14+?
If you want to create backoffice plugins, you need to use angularjs anyway
v
Yea great question. The reason we want to use Umbraco 13 is because of company requirements. We currently don't have any umbraco projects past 13 right now and want to make sure that our team has a full understanding of the 14+ changes before we jump down that route. So the simple answer here is -> we don't have time at this moment to learn Umbraco 14+ features.
l
That's absolutely fair, but from your post it looked like you needed to learn 13 features anyway, so that's why I suggested skipping to 14+. Having said that, I still don't understand what you're strugging with to get right in 13. I created a lot of packages and plugins for 13, but I'm not sure how to help you or what you are looking for. Do you have any concrete examples?
v
So the main issue is that the plugins simply don't load. I am not sure what registration for them has to be done to get them to work. Both of them are new
Sections
but don't display. I am not getting any errors or anything.
j
App Plugins packages do for the most part not require updates from 8-13. Only if the angularJS version bump happened to create an issue in your implementation. If it is sections then you need to ensure your user group has access to them, as by default sections are not viewable until assigned on the user group
l
Let's start with the basics: Step 1 is to have a package manifest: https://docs.umbraco.com/umbraco-cms/13.latest/extending/package-manifest Step 2 is to check if your package is showing up in the backoffice under packages > installed packages
v
Yes both of those are true!
l
Do you see errors in your browsers console / developer toolbar?
v
None that I see!
Ahhhhhhhh I see okay! I did not know they were disabled by default!
@Luuk Peters (ProudNerds) I appreciate it! I am new to Umbraco, and am not used to these features! Thank you for your help! and you @Jemayn. I appreciate the help a lot! I think this has resolved my issues!
6 Views