Can you combine Panel Template with gspec?

I have a situation where I’m generating a gspec, with panel.Row() and panel.Column() and a widget box and everything. I also have a Panel Template that I made. Is it possible to combine the two? I tried to render the template object as a part of the gpsec, but that wasn’t working. Can I render a gspec within a template just as I can render a column in a template through add_panel and embed?

1 Like

Yes. The template is the outermost layout and can layout panel components including gspecs. Not the other Way around currently.

1 Like

Thanks Marc, I’ve attempted to entirely replace the gspec in my project with the panel Template instead, but it never renders correctly: Panel template doesn't work when served from bokeh server document

Thanks!

1 Like