Questions tagged [template-building-blocks]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
73 views

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

using 8.5 CME we need to publish components,pages,binaries to Broker DB and then on web application end the published items will be fetched using 8.5 CIL apis. 1)What is the best approach for ...
2
votes
1answer
101 views

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

We recently upgraded an environment to Web 8.5 from Tridion 2013. During the upgrade, we set up the new CD environment and upgraded the Web apps to use the new CIL (Restful API). We did not have ...
1
vote
2answers
223 views

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

I am trying to publish an XML Page where I am updating the Output of the Page created in Default Finish Actions using a C# TBB. I am able to preview the Page in Tridion but while publishing, it is ...
2
votes
0answers
36 views

Facing Issue with RenderedItem.AddBinary method which is deleting the existing Binaries

I am using below lines of code to add the binary in my CT : Tridion.ContentManager.Publishing.Rendering.Binary binary = TridionHelper.Engine.PublishingContext.RenderedItem.AddBinary(component); ...
2
votes
1answer
238 views

DD4T 2.0 Templating ILMerge Issue “Unresolved assembly reference not allowed”

I want to upgrade my existing custom TBBS to use DD4T 2.0 from DD4T 1 and uploaded the following into my Nuget feed: DD4T.Core.2.1.0 DD4T.Model.2.1.0 DD4T.Templates.Base.2.1.2 Newtonsoft.Json.6.0.8 ...
1
vote
1answer
157 views

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

I have created a Structure group Metadata having image field. when I try to read the image url, I am getting the TCM ID. ItemFields metadataFields = new ItemFields(objSG.Metadata, objSG....
8
votes
1answer
234 views

Razor Mediator Helper Functions TBB Not Working with Experience Manager Preivew

We have a page region in XPM and it works fine with adding/removing components until you add the 6th+ component to it. After doing so the following error is produced: TemplateCompileException: ...
1
vote
1answer
87 views

Accessing embedded Schema fields in Template Building Blocks

I'm trying to get embedded Schema field values in a Template Building Block. The field in question is of type "link to Component" and can be present in the Component multiple times. Therefore, I need ...
13
votes
0answers
226 views

Protected content strings in JSON producing DD4T TBB(s)

I think we've stumbled into an edge-case issue with the JSON producing DD4T TBB(s), so I am looking for some input / confirmation. We have a Schema, which has a simple text-field and a multivalued ...
6
votes
1answer
103 views

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

We are upgrading from SDL Tridion 2011 SP1 HR1 to SDL Tridion 2013 SP1. As we are changing database from Oracle to SQL Server, we used Content Porter to migrate content. After doing content port we ...