I have a schema containing a multi-value field of type component link.
How can I render this field (component link with its template) when I write a DWT TBB for this component?
I have a schema containing a multi-value field of type component link.
How can I render this field (component link with its template) when I write a DWT TBB for this component?
A Component Link field links to a Component - it does not specify a template. So I'll assume you want to specify the Component Template to use on the DWT.
So this loops over all values of the multi-value field names
YourComponentLinkFieldName
and render the Component linked in there with Component Templatetcm:1-2-32
.All of these topics are relevant to your question:
I suggest you read them and apply your understanding of them.