Skip to main content
7 votes
Accepted

What really happens when we restart the Tridion Publisher service?

The Publisher for sure caches objects, but the lifetime of that cache is normally from the point the the Publish Transaction is picked up from the queue to the point that rendering (of all items in ...
Rick Pannekoek's user avatar
6 votes
Accepted

Unable to delete item. The item is published

I'll suggest an approach, hopefully it will work. Create the target again with the exact same name. Since the target is no longer there, you can recreate the target with dummy values for deployer. ...
Vipin Kothari's user avatar
6 votes
Accepted

Outputting SVG image assets inline - can it be done?

We have a TBB "Output Multimedia Component as String", which may (or may not!) work for you with a little adaptation: BinaryContent binaryContent = component.BinaryContent; byte[] bytes = ...
Dave Forber's user avatar
  • 1,441
5 votes
Accepted

DXA 1.5 TBBs do not output Multimedia Component Field - External Url, recursively

DXA follows the behavior that SDL Web (or Tridion if you will) delivers, when using an External URL in a Multimedia Component, at Publish time, the content of the External URL is fetched and published ...
Bart Koopman's user avatar
  • 29.6k
5 votes

Publishing an item should trigger publish from parent publication and avoid infinite loop

Not that this sounds like a particularly good idea but - are you sure you're not publishing with "publish child publications" checked? Also - you'll have to catch (using the Event System - which ...
Dylan .. Mark Saunders's user avatar
5 votes

Publishing an item should trigger publish from parent publication and avoid infinite loop

Instead of creating tbbs for managing publishing, i suggest using event system. It is much more elegant solution. You can manipulate objects via event system more easily and will have more control ...
Marko Milic's user avatar
  • 8,942
5 votes
Accepted

How to consume XML sent by C# TBB in Razor template?

AFAIK, you won't be able to get the Keyword titles directly in a Razor TBB; however, you can create your own custom function in the Razor TBB that manipulates the XML and returns the titles. The ...
Sabarish Senthilnathan's user avatar
5 votes

Unable to debug Merged .NET assembly Template Building Blocks

Thanks all for the answers and comments. But it was a silly mistake from my side, So to upload the DLL (and other TBBs) in Tridon I was using the command below TcmUploadAssembly.exe config.xml "...
Saurabh Gangwar's user avatar
4 votes
Accepted

.NET Framework 4.0 templating DLL support SDL Web 8.5

First - Tridion has a very long history of supporting templates through an upgrade without changes. My DWT Get Extension was written for Tridion 2009 and it still works in Web 8.5 without a single ...
Nuno Linhares's user avatar
  • 29.1k
4 votes

Differences between PTs in DXA

They do appear to have the same metadata and includes, so in the default dxa setup, they are the same. However, separating the home page and section pages in two different templates can be useful, ...
Harald Hoffelinck's user avatar
4 votes

Unit test TBB in C# in Web8

It's tempting to see Tridion templating as an exercise in object-oriented programming, in which idiom the most obvious automated test is a unit-test. It's often better to see it as a data ...
Dominic Cronin's user avatar
4 votes

Publishing linked dynamic components

Actually you can achieve this via templating, no need for custom resolver. You can add additional dwt in your page template in which you will have RenderComponentPresentation() function for your ...
Marko Milic's user avatar
  • 8,942
4 votes
Accepted

Publishing linked dynamic components

You could use a custom resolver; much like as described in this article: http://www.tridiondeveloper.com/a-custom-resolver-in-practice
Will Price's user avatar
  • 16.4k
4 votes
Accepted

Retrieve list values in DWT template

There is a TBB called Get Linked Components in the Template Base framework for DWT. You can find it here: https://www.sdltridionworld.com/community/2011_extensions/generic-2011-tbbs.aspx. It will ...
Nickoli Roussakov's user avatar
4 votes
Accepted

component.Schema is null in SDL Web 8

Sounds like an issue with lazy loading of TOM.NET objects. In general, TOM.NET objects can be partially loaded (i.e. not all property values are retrieved). This typically happens when getting a list ...
Rick Pannekoek's user avatar
4 votes
Accepted

UsingItemsFilter not filtering result for publication context

Since you seem to be interested in classified Components: did you consider using Keyword.GetClassifiedItems ?
Rick Pannekoek's user avatar
4 votes

DXA dynamic type mapping

No, it doesn't; DXA uses Strongly Typed View Models. The supported View Model property types depend on the CM field type you are mapping to. In case of a CM Component Link field, you can map it to a ...
Rick Pannekoek's user avatar
4 votes
Accepted

How to check publishing or rendering context using TOM.NET in the new publishing framework

If all is well, the same logic can still be used; the new publishing franework uses Topology Manager Mappings instead of Publication Targets, but you will find that there is still a PublicationTarget ...
Rick Pannekoek's user avatar
4 votes

Can we add Preview Functionality in CME for DD4T based Application

Not sure how current this information is, but according to this blogpost, yes you can. There's some template and webapp changes needed to get it to work, they're detailed in the post I linked to.
Nuno Linhares's user avatar
  • 29.1k
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

Error on Publishing ECL Items

The error you are getting is a .NET error in the CopyTo() method, that tries to copy a closed stream. I'm wondering if it wouldn't be easier to use the IContentResult stream object directly inside ...
Harald Hoffelinck's user avatar
4 votes

Can a CT be created to be only allowed in one PT?

Another option would be to use Event System on Page Save and interrupt the saving if the Page Template <-> Component Template combination is not allowed. You can throw an exception with a ...
Atila Sos's user avatar
  • 6,290
4 votes

2 DWT Tridion 2013 questions

DWT is not that powerfull to read fields from linked components out of the box. You can check SDL AppStore to see i there is some templating (dwt) extensions that can read fields from linked ...
Stefan Klasnic's user avatar
3 votes

UsingItemsFilter not filtering result for publication context

Did you try InRepository. UsingItemsFilter = new UsingItemsFilter(pub.Session) { ItemTypes = new[] { ItemType.Component }, IncludedVersions = VersionCondition.OnlyLatestVersions, ...
Dylan .. Mark Saunders's user avatar
3 votes

Binary Publishing without TCM URI

When wanting to publish a binary with a different name (allowing you to not have the TCM URI appended), you have to make sure you are using the right AddBinary() method. There are two obsolete ...
Bart Koopman's user avatar
  • 29.6k
3 votes

Unable to delete item. The item is published

You need to verify where is item published and with what template. It might be that your template is published to target that is no longer valid, or it is published with template that is no longer ...
Marko Milic's user avatar
  • 8,942
3 votes
Accepted

Use of a tcmUri list in component template

What you are roughly trying to do I think should read something like <!-- TemplateBeginRepeat name="Paragraph" --> <div> @@RenderComponentPresentation(slideshareList[${...
Bart Koopman's user avatar
  • 29.6k
3 votes
Accepted

DXA 1.5 compatible with 2013 SP1?

Is DXA 1.5 compatible with 2013 SP1, the simple answer is yes, as mentioned in the documentation http://docs.sdl.com/LiveContent/content/en-US/SDL%20DXA-v5/GUID-DD402008-D5C5-4DCA-A74F-893272D2B659 ...
Bart Koopman's user avatar
  • 29.6k
3 votes

Processing Multimedia Content

Apart from the question why you would want to store XML data in a BLOB instead of in a regular/structured/XML Component, I have the following comments on your code: You are first loading the binary ...
Rick Pannekoek's user avatar
3 votes
Accepted

Processing Multimedia Content

If what you need is JSON, rather than processing this at publish time, might it not be easier (and better for performance) to process it at creation time already? For starters I would never suggest ...
Bart Koopman's user avatar
  • 29.6k

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