0

I want to execute default finish action compound tbb from .NET code. Is it possible and how? Or any other TBB that comes with Tridion installation?

5
  • Default Finish action should be part of the Default Templates , you can use this on Component Template and Page Template , You can execute this from the .net code may be by referring to the wedav url on your .net code. Not sure why you want to execute the TBB from the .net code – Anand NS Mar 23 at 15:49
  • I know i can use them and that is the way we did it by now. What I want to achieve is executing it from the .net assembly, or to be more precise, the classes they use. – Marko Milic Mar 23 at 16:31
  • May be it’s possible if you have the default template solution where you call from your .net assembly. – Anand NS Mar 23 at 16:46
  • The closest thing I can think of is the ability to automatically expose assemblies to C# script fragments per the documentation. The next best thing is replicating the logic yourself. Which classes were you interesting in using? The community might have some utilities, examples, or tips on how to get the same results. – Alvin Reyes Mar 25 at 20:49
  • It's been a long time, but I've done this in the XView implementation to allow templating inside .NET with a single TBB. Check de Decorate method in this class: github.com/hoangchu/xview-codesamples/blob/master/Source/…. Here is the source of the Context class which defines the methods RenderExtractBinariesFromHtml and RenderITemplate: github.com/hoangchu/xview/blob/master/Source/XView/… – hoang Mar 29 at 10:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.