Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more
4 votes
Accepted

Publishing getting failed in Template rendering but able to preview the Page

A few things you may want to check: Is the TBB reliant on some/certain content being published to Publishing Target? Is your Publisher scaled out from you CM? If so, then it may be that there's an ...
Jonathan Williams's user avatar
4 votes

Default Experience Optimizations TBB not loaded

If I remember correctly, the XO TBBs aren’t created using Template Builder. Instead, they are created when XO is installed as a feature. By default, the XO TBBs are created (by the installer) in /...
Jonathan Williams's user avatar
3 votes
Accepted

"Enable Inline Editing for Page" is not modifying the package's Output item on Web 8.5 for XPM

To summarize the issue and fix: The default [Publication]\Building Blocks\Default Templates\Tridion.SiteEdit.Templating (TBB) C# Assembly Template broken. It seems that the template builder upgrade ...
Velmurugan's user avatar
  • 8,150
3 votes
Accepted

Default Experience Optimizations TBB not loaded

The installer adds the TBBs to the "default templates" configuration -- which is what is used when you choose "Create Default Building Blocks" in Template Builder. So yes, you need to have XO ...
Peter Kjaer's user avatar
  • 19.8k
2 votes
Accepted

Unable to read PublicationTarget in Razormediator Template Building block

publishContext.PublicationTarget.Title; is not working with razor , you can use Engine.PublishingContext.TargetType and see if you can get the target , if not create a .net Code and use it on your ...
Anand N S's user avatar
  • 1,936
2 votes

How to get the image URL from Structure Group Metadata using C# TBB

Images do not have a URL until they are published, as mentioned by @Nuno. In your code you'll need to publish the binaries to get a URL you can use either the AddBinary or the PublishBinary method to ...
Chris Morgan's user avatar
  • 7,327
2 votes
Accepted

Razor Mediator Helper Functions TBB Not Working with Experience Manager Preivew

The final solution which solved this issue permanently was to change the razor mediator helper functions TBB into a .txt file. Loading the TBB multiple times in the same template was causing the ...
Nicholas Wetmore's user avatar
2 votes

In SDL Web 8.5 CME Are there Any OOTB TBB to Publish Component, Pages, Binaries to Broker DB

Definitely consider using DXA 2.0 (or higher). It provides what you are asking for and, in general it provides a kick-start foundation for such “Dynamic Delivery” implementations. Note that DXA is an ...
Rick Pannekoek's user avatar
2 votes

In SDL Web 8.5 CME Are there Any OOTB TBB to Publish Component, Pages, Binaries to Broker DB

Here are some answers to your questions. Hopefully they help to clarify things: Q1. What is the best approach for publishing to the Broker database A1. Whether items are stored in the Broker database ...
Jonathan Williams's user avatar
1 vote

Publishing getting failed in Template rendering but able to preview the Page

It would really help if you edit your question and provide some more details about what you are exactly doing in your C# TBB. But gathering from the stack trace your GenerateMegaMenuXml TBB is indeed ...
Bart Koopman's user avatar
  • 29.6k
1 vote
Accepted

DD4T 2.0 Templating ILMerge Issue "Unresolved assembly reference not allowed"

The project files of the latest DD4T Templates release (https://github.com/dd4t/DD4T.TridionTemplates/blob/master/source/DD4T.Templates/DD4T.Templates.csproj and https://github.com/dd4t/DD4T....
Bart Koopman's user avatar
  • 29.6k
1 vote

Is it required to build Compound Templates with Tridion 2013 DLL while upgrade?

In January 2008 Tridion R5.3 was released, bringing us the Modular Templating model. From that version onwards backwards compatibility is guaranteed in the Templating model by using .NET policies. ...
Bart Koopman's user avatar
  • 29.6k

Only top scored, non community-wiki answers of a minimum length are eligible