Take the 2-minute tour ×
Tridion Stack Exchange is a question and answer site for Tridion developers and administrators. It's 100% free, no registration required.

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?

share|improve this question
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 at 10:43
add comment

1 Answer 1

up vote 5 down vote accepted

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.

share|improve this answer
    
See sdllivecontent.sdl.com/LiveContent/content/en-US/… for a list of available link attributes in Dreamweaver templating –  David Forster Apr 9 at 8:43
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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