Closed Mantus667 closed 10 years ago
That is how it should be, though it could be better documented. What it tells you is that
This is the default config. Now if you just want models in the backend (no Visual Studio) you want to edit web.config following these instructions to either enable Live models or AppCode models. The difference is explained in the doc.
Thinking about creating a "quick start" page in the doc to explain this.
Thanks for making things clear. Thought something was wrong with the dashboard.
When will the AppCode Models be generated? Is there a way to trigger that? Restart the web? Touching web.config?
"Quick start" page would be helpfull i think.
I'd go with AppCode first - easiest to understand what's going on. And I realize that the "quick start" is mandatory in fact!
So after adding these lines to appSettings the Button should show up:
<add key="EnableAppCodeModels" value="true" />
<add key="ModelsNamespace" value="MyModels" />
which it doesn't. Is the Umbraco Cache making fun out of me again here?
After all that, yeah think that would be really mandatory to not have you bother with these "stupid" questions.
No, it's me being stupid. The correct keys should be Zbu.ModelsBuilder.
+ the option eg Zbu.ModelsBuilder.EnableAppCodeModels
. Fixing the instructions right now. Thanks for beta testing!
You're welcome! Now the generation with the AppData Models has worked. Now I'm playing a little bit with it. Thanks for the help!
After installing the umbraco package and setting the appSettings in the web.config this is how the dashboard looks like. Think that's not how it should be...