Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7991769
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T13:23:13+00:00 2026-06-04T13:23:13+00:00

I am working on the Dreamweaver template building blocks and implementing SiteEdit for the

  • 0

I am working on the Dreamweaver template building blocks and implementing SiteEdit for the page.

I am using SDL Tridion 2011 SP1 and Site Edit 2012 and Default Dream Weaver Templating.

My schema has a multi-value field of type “Component Link”.
My main component XML looks like this.

<Content xmlns="UUID">
    <link xlink:type="simple" xlink:href="tcm:202-8121"
          xmlns:xlink="http://www.w3.org/1999/xlink"></link>
    <link xlink:type="simple" xlink:href="tcm:202-8122"
          xmlns:xlink="http://www.w3.org/1999/xlink"></link>
</Content>

Linked component XML looks like this.

<Content xmlns="Some other UUID">
    <text>Hi all</text>
</Content>

My objective is to get the name of schema of the linked component and enable inline Editing for the the fields of the linked component too. I created a separate Component Template for the schema of the linked component with the URI tcm:202-8142-32.

I have written the DWT TBB for main component like this.

<!-- TemplateBeginRepeat name="Fields.link" -->
    <div>
        (FieldPath=@@FieldPath@@, TemplateRepeatIndex=@@TemplateRepeatIndex@@)
    </div>

    <!-- Not able to get the schema name of the linked component -->            
    @@RenderComponentPresentation(link, "tcm:202-8142-32")@@
<!-- TemplateEndRepeat -->

I am unable to loop through the component link field “link”.

Then I changed the schema which allows only a single component link. When TBB written is as follows, things work fine:

@@RenderComponentPresentation(link, "tcm:202-8142-32")@@

I know that the problem lies in looping through the multiple component links.

Please suggest how to loop through the multiple component links and get the schema name of each linked component.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T13:23:14+00:00Added an answer on June 4, 2026 at 1:23 pm

    When you are looping over the values of a multi-value field (as you are doing here), the current value is available in a variable called Field. So if you just change your call to RenderComponentPresentation to refer to that, I think it should work:

    <!-- TemplateBeginRepeat name="Fields.link" -->
        <!-- Not able to get the schema name of the linked component -->            
        @@RenderComponentPresentation(Field, "tcm:202-8142-32")@@
    <!-- TemplateEndRepeat -->
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on Dreamweaver templating in Tridion 2011 SP1 and SiteEdit 2012. My
I am working on Dreamweaver TBB in SDL Tridion 2011 SP1. In the TBB
I am working on Dreamweaver TBBs in SDL Tridion 2011 SP1. I am unaware
I am working on Dreamweaver TBB in SDL Tridion 2011. Say my component has
Working on a website that has Employee and Branch entities, using a database table
Working on a page with multiple sections. at the very top there is a
Working on a new app and using restful-authentication. I was trying to make it
I am working on building a website to be used in a social science
I've been working in Dreamweaver CS4 on two computers, bot by accessing my hosting
The application is working on dreamweaver but when I try it on Chrome or

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.