Skip to main content
Share Your Experience: Take the 2024 Developer Survey
7 votes
Accepted

What really happens when we restart the Tridion Publisher service?

The Publisher for sure caches objects, but the lifetime of that cache is normally from the point the the Publish Transaction is picked up from the queue to the point that rendering (of all items in ...
Rick Pannekoek's user avatar
4 votes
Accepted

Retrieve list values in DWT template

There is a TBB called Get Linked Components in the Template Base framework for DWT. You can find it here: https://www.sdltridionworld.com/community/2011_extensions/generic-2011-tbbs.aspx. It will ...
Nickoli Roussakov's user avatar
4 votes

Runat="server" attribute not allowed in RTF fields

There are some restrictions, even with the update of the configuration you indicate above (See here for a similar question). Whatever solution you add, it will likely require a 'technical' element ...
Dylan .. Mark Saunders's user avatar
3 votes
Accepted

Use of a counter within a TemplateBeginRepeat loop

As Rahul mentions, I think you're after the TemplateRepeatIndex. Just to elaborate on how it can be used, I recommend using a TemplateBeginIf with a condition: <!-- TemplateBeginRepeat name="...
Tanner Brine's user avatar
  • 2,512
3 votes
Accepted

Use of a tcmUri list in component template

What you are roughly trying to do I think should read something like <!-- TemplateBeginRepeat name="Paragraph" --> <div> @@RenderComponentPresentation(slideshareList[${...
Bart Koopman's user avatar
  • 29.6k
2 votes

Render component template from link to component field [tridion 2009]

Here is my suggestion. You can via C# code extract your linked component B. Then you can check all templates it can be rendered with and push tcm of selected one into package. Then you can render all ...
Marko Milic's user avatar
  • 8,942
2 votes
Accepted

Publish multimedia Component to server with AddBinary method

In your StructureGroup constructor call you are passing it a TCM URI of a Folder (item type 2), but the method requires the TCM ID of the parent Structure Group where you want to create the new one, I....
Nickoli Roussakov's user avatar
2 votes

Tridion User Last Login Info

9.5 version has this useful info:
Shahid Eqamuddin's user avatar
2 votes

Block of code only works with Template builder

One issue I can think of, for this working in the Template Builder and not when you publish is that your Template is not checked in. When you publish, only the last checked in version of the Template ...
Bart Koopman's user avatar
  • 29.6k
1 vote

Publish multimedia Component to server with AddBinary method

There are two overloads for the StructureGroup constructor: StructureGroup(Session, TcmUri) - Create an instance for a new Structure Group. StructureGroup(TcmUri, Session) - Create an instance for ...
Bart Koopman's user avatar
  • 29.6k
1 vote
Accepted

Render component HTML in the parent DWT

It only makes sense to call @@RenderComponentPresentation()@@ without arguments when you are iterating over a package item of type ComponentArray. This is what you are doing when you use code such as: ...
Dominic Cronin's user avatar
1 vote

DWT and cookie laws

Keep in mind the basics, the template expression language in your DWT Template Building Block is executed at publish time, when the Template is rendered. But I think what you are asking for is a way ...
Bart Koopman's user avatar
  • 29.6k
1 vote
Accepted

Increment TemplateBeginIndex in a DWT

In 2011, one of the templates is using <span class="number">@@parseInt(${TemplateRepeatIndex})+1@@</span> I believe DWT to JScript based, so you can use stuff like that to enforce type. ...
Dave Forber's user avatar
  • 1,441
1 vote

Use of a counter within a TemplateBeginRepeat loop

If you are just looking for TemplateRepeatIndex we use it as: <!-- TemplateBeginRepeat name="MyDummyArray" --> @@${TemplateRepeatIndex}@@ //put your check here on ...
Rahul Kumar Singh's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible