3

I'm on page 59 of APress Phil Wicklund's "Professional Sitecore 8 Development".

I'm trying to add my Rendering to the "main" Placeholder.

Experience Editor => click inside the "Main" Placeholder => "Add here" => "Select Rendering" => "Select" .

"Message from Webpage" "an error occurred".

I've scoured all the logs from /data/logs/ but without seeing anything related.

Question: are there other places I need to look into, for more clues?

Thank you,

8
  • I don’t think so. Are there any errors in the browser console? Nov 3, 2017 at 20:34
  • Hi Artsem, thanks, you just got me closer! "Could not find the rendering in the HTML loaded from server" Nov 3, 2017 at 20:42
  • 2
    Does your component have at least 1 html tag (even if no datasource is selected and if in Experience Editor mode)?
    – Marek Musielak
    Nov 3, 2017 at 20:54
  • Yes, it's the book very minimal: <div> @Html.Sitecore().Field(“Additional Text”) </div> Nov 3, 2017 at 21:19
  • 1
    I see it's a known issue there: kb.sitecore.net/articles/867739 Nov 3, 2017 at 21:21

1 Answer 1

0

You for sure have it going into the main placeholder? Do you have any renderings that do not have a placeholder specified?

What version of Sitecore are you running? Per the link @CoeuerDusite provided, it is a known issue:

To address the issue, apply one of the solutions below:
Always specify placeholder name for all presentation elements.
Upgrade website to Sitecore 8.0 rev. 150427 (Update-3) or newer, where this issue has been fixed.
Apply the patch as described below:
Put an Sitecore.Support.380995.v*.dll assembly into the \bin folder;
Put Siteocre.Support.380995.v*.config file into the \App_Config\Include folder.
Appropriate files can be retrieved from an archive, depending on the Sitecore version:
Sitecore 6.5 - 6.6: Sitecore.Support.380995.v1.zip - https://kb.sitecore.net/~/media/2C9A39977D8349EEB378F89245DC6D61.ashx?la=en
Sitecore 7.0 - 7.5: Sitecore.Support.380995.v2.zip - https://kb.sitecore.net/~/media/AE61B2778ACC4C108872F5F63519A67E.ashx?la=en
Sitecore 8.0: Sitecore.Support.380995.v3.zip - https://kb.sitecore.net/~/media/92301E04A678428CA7D13354B5F2E8FA.ashx?la=en
2
  • Yes the main placeholder, and I've just trying specifying the main placeholder in the (View) Rendering, although that seems to make for tight coupling: doesn't it mean that now this Rendering cannot be used elsewhere than in this one Placeholder? In Phil Wicklund's book "Professional Sitecore 8 Development" from Apress, there wasn't instructions for doing this. Re-re-checking... Nov 6, 2017 at 20:47
  • You are correct, that if you are specifying the placeholder in the rendering you are tightly coupling. Typically, you will place it in the placeholder via the Presentation Details. Nov 8, 2017 at 14:39

Not the answer you're looking for? Browse other questions tagged or ask your own question.