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
I've set up a new Umbraco v8 project and this is working.
Now I want to implement the Models Builder API into my VS project so I followed the following documentation to set it up:
I created some document types in the backoffice but now when I try to run the Builder.cs class I get an error that it doesn't work.
I installed the Umbraco.ModelsBuilder, Umbraco.ModelsBuilder.Ui and Umbraco.ModelsBuilder.Api nuget packages (all version 8.0.1).
Then I added the following keys to the web.config:
<add key="Umbraco.ModelsBuilder.Enable" value="true" />
<add key="Umbraco.ModelsBuilder.EnableApi" value="true" />
<add key="Umbraco.ModelsBuilder.ModelsMode" value="Nothing" />
As well added the details of my Umbraco administrator account to the Umbraco Models Builder Tool in visual studio itself. Now I get the following error:
UmbracoModelsBuilder: Starting v220.127.116.11 06/03/2019 15:35:18.
UmbracoModelsBuilder: UmbracoModelsBuilder failed to generate code: Exception: Response status code does not indicate success (NotFound)
View more information »
UmbracoModelsBuilder: at Umbraco.ModelsBuilder.Api.ApiClient.EnsureSuccess(HttpResponseMessage result)
at Umbraco.ModelsBuilder.CustomTool.CustomTool.UmbracoModelsBuilder.GenerateRaw(String wszInputFilePath, String wszDefaultNamespace, IntPtr rgbOutputFileContents, UInt32& pcbOutput, String& errMsg)
It's not supported yet, we're working on updates for ModelsBuilder.Api to be released for 8.0.1.
Awesome thanks for the quick reply!
Did you managed to get this to work. I'm running into the same issue.
Or are you waiting for the updates of the ModelsBuilder.Api?
Hi Rene, I'm still waiting for the update since they already fixed the issue. As I saw on Twitter, they will release it asap. For now some small issues are delaying the release that was planned for yesterday.
Thnx for the quick reply. We'll just have to be a patient a bit more.
I just checked and they moved the release date to next week on Tuesday.
So is it getting released today?
And sorry, but how can we track the same. (status of getting released )
If you go to the status page you can track all updates and maintenance. You can also subscribe and get updates via email
It looks like 8.0.1 just got release, though I can't upgrade to this version since they didn't release an update for UmbracoCms.Web, which is version 8.0.0 and UmbracoCms and UmbracoCms.Core 8.0.1 depend on UmbracoCms.Web 8.0.1. I just contacted support about what to do, I'll keep you posted here.
Thanks Koen, I noticed something broke in our release pipeline, it should start working on NuGet in about 15 minutes.
Thank you, I see it got released now :)
Still getting the same error. after updating. (I have updated NuGet package to v8.0.1)
But on Run Custom Tool
HTTP Error 404.0 - Not Found
Did you install the modelsbuilder API package and are you running in debug mode?
model builder API is installed (V8.0.1)
And Yes, running in debug mode.
Ok, Got it working after upgrading model builder API to V8.0.4
Hi, I'm having the same issue with the latest Umbraco version 8.1.5. I tried all suggestions but none worked.
Any idea why?
Can you describe what doesn't work means?
Have you installed the Api in your Umbraco project?
Did you set the correct settings in your web.config?
Do you get a error?
I get HTTP Error 404.0 - Not Found when calling /Umbraco/BackOffice/ModelsBuilder/ModelsBuilderApi/ValidateClientVersion.
I installed the api yesterday on a Umbraco 8.1.1 project and worked ok. But today, I installed it on a project that has Umbraco 8.1.5, but it keeps giving me this error.
Ok, I have created a blank project and installed both Umbraco 8.1.5 & the api, but still have the same issue.
Could someone help please?
Are you using the Models Builder extension - which replaces the Visual Studio Custom tool?
I also had the same error - when using the api - I installed 8.1.5 and I get a 404 when calling /Umbraco/BackOffice/ModelsBuilder/ModelsBuilderApi/ValidateClientVersion
However, while i had installed ModelsBuilder 8.10, I have forgotten to install ModelsBuilderApi as well!! Once that was installed it works
I'm running Umbraco v8.6.3 and getting this same error. Modelsbuilder v8.1.0
I haven't used it for a while, but one of the checks to do is to make sure you have debug="true" in the web.config
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted