I've got this scenario:
- A Tridion 2011 using the Razor mediator
- An ASP.Net 4 DLL implementing some custom Web Controls
- A Dynamic Component Template that must render a summary of an item and a link button to the detail page
In this scenario, the custom Web Control is in charge of performing some broker queries, retrieve the indicated components and then render them using the already mentioned Dynamic Component Template.
I'm using the class ComponentPresentationAssembler for this purpose and invoking the method GetContent and providing the ID of the Component and the ID of the Template I get some output.
Now my question is; there is an overload of the method ComponentPresentationAssembler.GetContent that allows you to provide a dictionary with variables so, how could I get again those variables from the Dynamic Component Template? They seem to be no context variables.