I have a document page which hosts all of the required documents and then I have pages elsewhere which then filter and display appropriate content.
In 7 it works fine.
In 8 I am unable to get the nested content to display on the page, is there anything i should be doing?
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1061: 'IPublishedContent' does not contain a definition for 'docNested' and no accessible extension method 'docNested' accepting a first argument of type 'IPublishedContent' could be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 87: @{
Line 88:
Line 89: var DocContentPage = DocPage.docNested;
Line 90:
Line 91: var PageSelectionID = Model.PageType;
Nested Content from another page
Hi,
I am upgrading version of Umbraco from 7 to 8.
I have a document page which hosts all of the required documents and then I have pages elsewhere which then filter and display appropriate content.
In 7 it works fine.
In 8 I am unable to get the nested content to display on the page, is there anything i should be doing?
This is the error I am getting.
Possibly need to rebuild your models?
While fetching values from nested content it should be IPublishedElement instead for IPublishedContent in Umbraco 8. Please try this.
is working on a reply...