Hot answers tagged

9 votes
Accepted

Testing for a Tridion component link type (binary or component) for conditional linking

You could test for specific Schema's for example if (c.Link.InternalLink.Schema.Title == "Multimedia Schema Title") This would give you more control if the desired output is different based on ...
user avatar
  • 7,307
8 votes
Accepted

TCDL Engine doesn't work after migrate to Web 8

Have you applied the Cumulative Update and the latest hotfixes on top of the installation? REL DCPs with ASP.NET website were causing issues. Before Web 8, the target language was controlled with the ...
user avatar
  • 1,475
6 votes
Accepted

How to use tcdl:ComponentPresentation tag inside of tcdl:Link?

It appears the Deployer does not resolve tcdl tags inside out, which means it does not support nested tags unfortunately. However when looking at your construct I would say that is sounds rather ...
user avatar
  • 29.6k
6 votes
Accepted

Resolving tcdl tags in jsp pages

Publication target language "REL" means that the deployer is expected not to convert the tcdl tags to JSP custom taglib directives; also see the SDL tridion 2013 online documentation. Instead these ...
user avatar
4 votes
Accepted

taglib declaration for tridion tags

As far as I have seen, most people place the snippet at the top of the Page Layouts. I understand the point you are making by not embedding the taglib - but out of the box this functionality doesn't ...
user avatar
  • 2,920
4 votes
Accepted

Does syntax matter for REL DCPs?

I am pretty sure you can publish whatever weird content you like and as long as it contains valid TCDL/REL it will be parsed by Content Delivery before returning it via the ...
user avatar
  • 16.4k
4 votes

How do I add a rel attribute to the URL of a component link?

Welcome to Stack Exchange Arnaud. This page on SDL Live Content (login required) shows the various options you have for linking. You can achieve the functionality you want with something like this: ...
user avatar
  • 28.9k
3 votes
Accepted

Hide <tcdl:condition> markup from outbound Email

I believe this is added by the "Target Group Personalization" TBB, which is part of the Default Finish Actions. It's not meant for Mailings but rather for when you are publishing to the web. The ...
user avatar
  • 19.8k
3 votes
Accepted

Web 8.5 - How to implement and configure custom TCDL on Web site with RESTful Broker API?

Implementation requires the following steps: To start to create your own custom TCDL tags jar using Maven + IntelliJ IDEA Java development tools to create a Java class that implements the interface ...
user avatar
  • 7,495
3 votes

How to implement Custom TCDL on Web8.5 RESTful API, Java?

The jar file which contains those class files is cd_dynamic-8.5.0-1014-*.jar try copying it from Content Delivery\roles\..... installation location and adding it to your project's class path
user avatar
  • 1,231
3 votes
Accepted

com.tridion.tcdl.TagRenderer not found

The class com.tridion.tcdl.TagRenderer is available in the cd_dynamic.jar, and it can be found in your SDL Tridion 2013 SP1 installation media under Content Delivery\roles\api\java\lib. Basically ...
user avatar
  • 29.6k
3 votes
Accepted

Personalizing Styles

It's all just text. Tridion doesn't care whether it's emitting a head or a body. There's no reason why a component presentation can't be used in the head of a web page. Regarding TCDL tags, it really ...
user avatar
  • 18.5k
3 votes

Does syntax matter for REL DCPs?

Be careful about using REL when publishing ASCX or Java Taglib markup. REL is meant to be used when storing content in the DB, however ASCX and Taglibs need to be published to the filesystem in order ...
user avatar
2 votes
Accepted

How to render HTML fragment using metadata using DD4T

Schemas/Components with RTF fields should NOT be used for forms, that is not a correct way forward. Whatever you store in he CMS should be content, and a form is not content, it is HTML. What would ...
user avatar
  • 29.6k
2 votes

taglib declaration for tridion tags

The likelihood of there being much benefit to be had from language-agnostic templates is almost certainly small. Most people would be OK with accepting some amount of language-specific things in their ...
user avatar
  • 18.5k
2 votes
Accepted

Resolving tcdl tags for DCP and JSP Page - REL tags in combination with JSP tags are not working

Finally, Found the culprit it's a config issue values are not correct: Before: <Property Name="tcdl.target.language" Value="jsp" /> <Property Name="tcdl.target.language" Value="rel"/> ...
user avatar
  • 7,495
2 votes
Accepted

SDL Web 8.5 <tcdl:Comment>s are printing on the jsp website as is

To answer my own question, Applying the Hotfix "CD_8.5.0.1876", fixed our <tcdl:comment> tags related and component link resolving issues. I hope this helps for those who are upgrading from ...
user avatar
2 votes
Accepted

Dynamic Component Presentation 'type' in Page source (TCDL Tags in source )

At the Content Delivery side, The page published had below Asp.net kind of Custom Server Control Tag: <tridion:ComponentPresentation PageUri="tcm:200-15454-64" ComponentUri="tcm:200-...
user avatar
  • 926
2 votes
Accepted

Extending tcdl Linking to remove index.html from tridion links

So to answer my question, I have used approach as provided in Will's article: http://www.tridiondeveloper.com/cleaning-and-extending-dynamic-linking So I extended TagRenderer class and provided ...
user avatar
  • 8,401
1 vote

Extending tcdl Linking to remove index.html from tridion links

Just to share my idea, In the past, I did implement using the following approach, the files to be served without extension using .NET ASPX website, you can do similar in java also I think. Using ...
user avatar
  • 7,495
1 vote
Accepted

Custom TCDL tag on page is not processed

Apparently, this issue is resolved by implementing Apache Freemarker servlet.
user avatar
1 vote

Unbalanced TCDL tags when using a tag renderer on broker query

I had similar issue in my OOTB setup, In order to fix this issue. To add the below configuration in the cd_dynamic_conf.xml file in your content service. <TCDLEngine> <DefaultTags Name="...
user avatar
  • 7,495
1 vote

Unable to process tcdl tags

If you've created your tcdl tag handlers as discussed in the comments, then make sure you're fetching the component presentations using the ComponentPresentationAssembler not the Factory. The CP ...
user avatar
1 vote

Include TCDL tag in component presentation for a component

If I understand your case correctly, the solution would be to publish the one component with the RTF field that was edited. Tridion will then automatically publish all the 100 components that use it ...
user avatar
  • 1,650
1 vote
Accepted

Custom TCDL tag

Though you won't have access to the Request object itself, you should indeed look at the information available in the claimstore. There's a lot of info in there. As Nick suggests, if you have SDL ...
user avatar
  • 28.9k

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