Comments (6)
That is how it should be, though it could be better documented. What it tells you is that
- The API for Visual Studio is enabled
- The built-in PublishedContentModelFactory is enabled
- No namespace has been configured for models
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.
from modelsbuilder.original.
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.
from modelsbuilder.original.
- In AppCode models: once enabled there will be a "generate" button in the dashboard. Models are generated when you click the button.
- In Live models: models are generated when Umbraco starts or when you change some content type.
I'd go with AppCode first - easiest to understand what's going on. And I realize that the "quick start" is mandatory in fact!
from modelsbuilder.original.
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.
from modelsbuilder.original.
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!
from modelsbuilder.original.
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!
from modelsbuilder.original.
Related Issues (20)
- Generating models using the VS extension can cause namespace issues HOT 3
- Cleaner csproj include generated files HOT 1
- Can't Rebuild Models After Deleting Document Type HOT 6
- Interface definition only generated when document type is in use HOT 1
- Request error: The URL returned a 404 (not found): /App_Plugins/ModelsBuilder/modelsbuilder.html HOT 1
- Provide option for generated code to use Language Fallback HOT 7
- ModelsBuilder API Generates first IPublishedElement then never finishes HOT 10
- VS Extension: Method not found: 'System.String Umbraco.ModelsBuilder.Building.Compiler.CreateValidIdentifier(System.String)' HOT 2
- v4: Repository shouldnt link to local nuget server
- v4: If Document type with Template is created Umbraco fails with save of Document Type
- Implemented property keeps being generated HOT 6
- ModelsBuilder on Umbraco v8.8 HOT 10
- v4: Generator should be swappable / extendable
- Generated Models missing PublishedElementModel on generated model.
- Stack Overflow when implementing same interface in generated and partial class
- VS Extension install issue
- Execute ModelsBuilder Programmatically
- When generating models for IPublishedElement it adds a controller no matter what
- UmbracoModelsBuilder: UmbracoModelsBuilder failed to generate code: NullReferenceException HOT 1
- VS2022 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modelsbuilder.original.