Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello!
I have an element type that I need to use in a Nested Content property.
However when I generate the models with models builder, the model for the element type is not generated, resulting in a build error.
The Element type:
The Document type that uses the nested content proerty:
The build error comes because the faqQuestion element type is not generated:
Is there some setting or something that needs to be done so that also the element types get generated? Hope somebody can help me.
Hey Anna,
Are you sure the model isn't being generated? Or is it that the file isn't being included in your Visual Studio project?
Depending on how your project is set up, it's very possible that new model files aren't being automatically included so it's worth double checking.
Thanks
Nik
Aah, face palm!
That was it! It wasn't included in the project, but hidden :)
Thank you :)
Anna
No problem, the amount of time I've lost to that same issue is absolute madness! :-D
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Element type not generated with models builder
Hello!
I have an element type that I need to use in a Nested Content property.
However when I generate the models with models builder, the model for the element type is not generated, resulting in a build error.
The Element type:
The Document type that uses the nested content proerty:
The build error comes because the faqQuestion element type is not generated:
Is there some setting or something that needs to be done so that also the element types get generated? Hope somebody can help me.
Hey Anna,
Are you sure the model isn't being generated? Or is it that the file isn't being included in your Visual Studio project?
Depending on how your project is set up, it's very possible that new model files aren't being automatically included so it's worth double checking.
Thanks
Nik
Aah, face palm!
That was it! It wasn't included in the project, but hidden :)
Thank you :)
Anna
No problem, the amount of time I've lost to that same issue is absolute madness! :-D
is working on a reply...