Topics help categorize Community content and increase your ability to discover relevant content.
Hi Marcel, thank you for picking this up!
So, I'm setting up a content template, where the content contains ids of other contents, used like blocks; so one block can be reused and included in several contents together with other blocks like a parent containing several children.
I have one template for the parents, and one template for the children. The children template works fine, but in the parent template I would like to call the children template with the child-id, and get a transformed result. Like you can do in JSSP with transformFromId but it is not available in templates.
Now I have to have the template load the cild-content, and parse it using functions in the parent template. These functions are already defined in the child-template and keeping them both updated so they look the same is a hassle.
Hopes that makes it clear, but please feel free to inquery further if I can be any clearer.
This is for JSSP pages right?
I have found this JSSP might be useful for you
They simply inject formPreview item into the html content
Ok i think i understand
You have content templates and want to use them on JSSP page.. okey take a look at xtk:themePreview.jssp you can reuse that structure. but you will query content templates and simply printing their source html same as in the themePreview.jssp
But you say the function transformFromId should do that. maybe someone else can help here.. i can try to play with the function later