TimGeyssens / UIOMatic

Auto generate an integrated crud UI in Umbraco for a db table based on a petapoco poco (and more)
https://timgeyssens.gitbook.io/ui-o-matic/
Other
67 stars 54 forks source link

Issue with Umbraco 10 #219

Closed huzzi closed 1 year ago

huzzi commented 1 year ago

Does not seems to work with Umbraco 10, it adds the nuget package to the project file but does not copy the html/js/css files.

patrickdemooij9 commented 1 year ago

Hi @huzzi The html/js/css files should be done through the razor class library, so you won't see them in your project, but they will be there when deploying. If you build and run the application, does it give you an error when trying to resolve the files?

huzzi commented 1 year ago

Hi @huzzi The html/js/css files should be done through the razor class library, so you won't see them in your project, but they will be there when deploying. If you build and run the application, does it give you an error when trying to resolve the files?

Hi @patrickdemooij9 when I build and run I get a blank page, no errors. I will try on a clean install. Thanks

huzzi commented 1 year ago

@patrickdemooij9 it seems to have worked on a clean install but I'm having issue on upgrade from V8 to V10. I'm maybe doing something wrong there.

huzzi commented 1 year ago

Okay, I have the model files in a a separate project which does not work, moving the files to the web projects seems to work. Not sure why that is but it was working fine on V8.

Also, can someone share sample code for event handler? I want to do something with the data before it's saved.