Renders an interactive DMN-style decision table viewer and editor, with full hit-rule support, versioning, and role-aware editing controls.
CALCULATIONALT — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
Param1 — decision pack name (lowercase). Pass "add" to render a list of all decisions with an add-new button instead of a specific pack.Param2 — optional version string to load a specific pack version.Returns an HTML fragment containing the decision table rendered via Jinja2 templates, with inline JavaScript for row editing, adding, and deletion. When Param1 == "add", returns a searchable index of all decision packs.
Uses jinja2 for HTML templating. Supports all DMN hit rules: Unique (U), All (A), Priority (P), First (F), Output Order (O), Rule Order (R), Collect Sum (C+), Collect Count (C#), Collect Min (C<), Collect Max (C>). Role-based extras are injected when config_yaml['role'] == 'dev'.