Skip to main content

Multiple Dynamic GETs per View

Instead of coding glue logic by hand, you simply assign each data source in the GUI and compile with confidence

What It Does
Joomla Component Builder (JCB) allows you to associate not just a single Dynamic GET (query) to a view, but multiple. This means that a Site View or Custom Admin View can load and present data from different database tables (or even across components) simultaneously.

This feature is especially useful for building dashboards, reports, importers, or UIs that display data from different origins in parallel.

Key Capabilities

  • Assign a primary Dynamic GET (as the core data provider)
  • 🔁 Add one or more additional Dynamic GETs
  • 🔀 Merge the output of different data sets into the same layout
  • 📦 Organize multi-entity datasets on the same screen (e.g., stats, logs, summaries)

Where to Configure

  1. Go to your Site View or Custom Admin View.
  2. Under Dynamic GETs, assign your Main GET (mandatory).
  3. Add secondary GETs via the “Add GET” button.
  4. Reference each GET inside your layout/template using its alias or variable name.

Example Scenarios

  • A Custom Admin View that displays:
    • User logs (GET 1)
    • Failed imports (GET 2)
    • System health data (GET 3)
  • A Site View that shows:
    • Blog post list (GET 1)
    • Sidebar with top contributors (GET 2)
    • Recent comments (GET 3)

Benefits

  • 📊 Build rich interfaces without complex manual models
  • 🔄 Keep query logic modular and separated
  • 🧩 Match data display to layout sections visually
  • ⚙️ Reduce redundancy by reusing GETs across views
  • Fully round-trip safe and version-controlled via JCB

Conclusion

Multiple GETs per view unlock powerful frontend and backend displays — enabling multi-source, multi-model rendering in a structured and reusable way. Instead of coding glue logic by hand, you simply assign each data source in the GUI and compile with confidence.