Portal Community

Opening the State Inspector

Variables Panel

The Variables panel shows all declared app variables with their current values. You can edit values directly for testing:

// State Inspector Variables panel shows:
searchTerm:      ""           → editable → type "smith" → DataGrid re-fetches
selectedStatus:  "all"        → change to "active" → see filtered results
currentPage:     1            → change to 3 → pagination updates
showFilters:     false        → toggle to true → filter panel shows
selectedLeadId:  null         → set to "lead-123" → detail panels update

Route Params Panel

Shows current route.* values. You can seed test values for pages that require route params — without needing to navigate to them from a DataGrid row click:

// Testing a detail page in the builder:
// Instead of clicking a DataGrid row, set in State Inspector:
route.id = "lead-456"
// Canvas immediately re-renders the detail page for lead-456
// DataGrid loads activities for lead-456
// Form widget pre-fills with lead-456 data

Token Resolution Log

The Resolution Log records every {{ }} expression evaluated in the last render cycle:

ColumnDescription
ExpressionThe raw token string as written in config
ResolvedThe actual value after evaluation
WidgetWidget ID that used this token
PropertyWhich config property contained the token
StatusOK (green) | Pending (yellow) | Error (red)

Common Binding Errors in the Inspector

ErrorCauseFix
Undefined variableToken references a variable not declared in app configDeclare the variable in the App root Variables tab
Route param missingAppPage does not declare the param in its route patternAdd :paramName to the AppPage route
Service call failedAIExtension.Service method returned an errorCheck the method name; verify service layer has the method
Type mismatchToken resolved to wrong type for the propertyAdd type coercion in the token: {{ Number(variables.count) }}
Circular dependencyWidget A binds to Widget B which binds back to Widget ABreak the cycle — use a variable as intermediary