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 noticed an issue on V7.15.4 with Stacked Content recently.
I'm currently using Stacked Content with modules to build up a page. I did see a post where you have said preview doesn't work unless its the full page. Maybe the solution to the issue below is to turn off enable preview :).
If you have enabled content checked on the data type then on the page where you have the data type on it you get the following error. If you don't check enabled content on the data type then you don't get the error. Umbraco preview looks ok and front end is fine as far as I can tell.
An error occured
Value cannot be null. Parameter name: view
System.ArgumentNullException: Value cannot be null. Parameter name: view
at System.Web.Mvc.ViewContext..ctor(ControllerContext controllerContext, IView view, ViewDataDictionary viewData, TempDataDictionary tempData, TextWriter writer)
at Our.Umbraco.StackedContent.Web.Helpers.ViewHelper.RenderPartial(String partialName, Object model)
at Our.Umbraco.StackedContent.Web.Controllers.StackedContentApiController.GetPreviewMarkup(JObject item, Int32 pageId)
at lambda_method(Closure , Object , Object )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>cDisplayClass6_2.2(Object instance, Object methodParameters)
The previewer is looking for a partial-view for the doc type's alias in the "~/Views/Partials/Stack/" folder. It might be missing?
Nik wrote up some notes on this, as our docs are non-existent, sorry!
Hope this helps?
With a bit of tweaking at my end it worked a treat. Thanks for pointing me in the right direction!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted