1

Tridion 9. 1 DXA 2.2 Component Link to EclItem in Rich Text Field cannot resolve. Example:

<a title="abc" href="ecl:11-bynder-1DCC6C05!2D;0C7D!2D;4B93!2D;9D94D25AD6CC445F-Bynder!5F;image-file">abc</a>

preview:

<a title="abc" href="/image/19-bynder-2DCC6C05%212D%3B0C7D%212D%3B4B93%212D%3B9D94D25AD6CC445F-Bynder%215F%3Bimage-file_tcm11-111.ecl">abc</a>

Link not resolving the real ECL url. Resolve ECL items V2 included in Component Template. Img component link works, but not a link, Any Solution to Solve the Issue?

3

1 Answer 1

5

By default, only MM Component links (incl. ECL Item links) in img elements in Rich Text Fields are processed by DXA.

However, as of DXA 2.2, this is configurable. See section “Embedding” in the What’s New for DXA 2.2

Note that the “Resolve ECL Items V2” TBB should not be used in DXA TBBs; DXA has built-in support for ECL.

3
  • thanks for the direction, in the doc "list the Schema identifiers of the Component Schemas that you want to expand", can i put <a> in parameter or can you give me an example. thanks again.
    – Lucas Liu
    Commented Aug 28, 2020 at 13:40
  • As Schema identifier you can use: the Schema’s Namespace URI, a combination of Namespace URI and Root Element Name (separated by a colon), or the Schema’s Title. Commented Aug 29, 2020 at 17:35
  • thanks Rick solution works
    – Lucas Liu
    Commented Aug 29, 2020 at 19:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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