Hi,
I keep getting this “error” when creating specific content via the ContentService API in V8. The page is created, flagged as published and all the fields are saved, but I cannot view it since there is not created a url for it - not until I save and publish manually via the backoffice.
Basically I am doing this:
var content = cs.CreateAndSave("Underskål", productLine.Id, "product");
content.SetValue("productNum", product.ProductNum);
cs.SaveAndPublish(content);
And I have also tried the cs.Create(…) method with no luck, and I have also tried replacing the Danish character “å” with “aa” in the name above.
I have also tried doing this in the SaveAndPublish method with parameters:
cs.SaveAndPublish(content, "*", -1, false);
No luck at all. Any help is appreciated a lot.
Thanks.
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/96485-this-document-is-published-but-its-url-cannot-be-routed