get_iframe#

Template.get_iframe(width: int | float = 1000, height: int | float = 800, *, context=None, item_filter: str = '', embed_scene_data: bool = False, request=None) → str#

Return an inline iframe containing the rendered report.

Parameters:
widthint or float, optional

Iframe width. The default is 1000 pixels.

heightint or float, optional

Iframe height. The default is 800 pixels.

contextdict or None, optional

Context dictionary passed to render().

item_filterstr, optional

ADR query string used to select items for the report.

embed_scene_databool, optional

Whether to include full scene data in the rendered HTML.

requestHttpRequest or None, optional

Django request object passed to render(), if available.

Returns:
str

String-like iframe markup that rich display frontends render as HTML.