3

I created a Dynamic Component Presentation (ascx) that uses Dynamic Component Linking, and everything is published fine on the Content Delivery side.

However I noticed the TextOnFail property of the <tridion:ComponentLink runat="server"> web control is always "true".

Question is, what is the CME behavior that sets this value, if any?

  • 2
    In RTF fields this is always set to true, as the content could become "weird" if a word or two disappeared... – Nuno Linhares Apr 9 '14 at 10:43
4

The TextOnFail value is usually set in the TBB's.

To create a TridionLink from a dwt TBB the following code is needed:

<a tridion:href="@@Component.ID@@" tridion:textOnFail="true" class="bottom">

Tridion will transform the code above into a server control (.net or java) based on your env.

In this case the textOnFail is hardcoded, But the value can be set from a variable that is available in the Package.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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