---
id: post/gerardorenteria-blog/14816
type: post
title: "World Cup in Business Central: predictions and results ⚽🥅"
summary: A World Cup prediction extension for Business Central that lets users share forecasts, track matches imported from a JSON source, register predictions, and compete on a leaderboard with automatic scoring based on exact scores or correct outcomes.
tier: community
language: en
tags:
  - extension
  - sample solution
  - user interface
  - data import
  - leaderboard
  - gamification
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T01:54:57.218Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-post: 1
  input_hash: c8ed55fb5e178721cb77596c52c15f45025913f324015acfdf64c1b0a1f8465a
evidence:
  - kind: blog
    url: https://gerardorenteria.blog/2026/06/11/world-cup-in-business-central-predictions-and-results-%e2%9a%bd%f0%9f%a5%85/
    title: "World Cup in Business Central: predictions and results ⚽🥅"
    date: "2026-06-11"
    commit: null
    t: null
    quote: null
  - kind: blog
    url: https://gerardorenteria.blog/2026/06/11/world-cup-in-business-central-predictions-and-results-%e2%9a%bd%f0%9f%a5%85/
    title: "World Cup in Business Central: predictions and results ⚽🥅"
    date: "2026-06-11"
    commit: null
    t: null
    quote: The extension setup allows the source URL to be configured.
  - kind: blog
    url: https://gerardorenteria.blog/2026/06/11/world-cup-in-business-central-predictions-and-results-%e2%9a%bd%f0%9f%a5%85/
    title: "World Cup in Business Central: predictions and results ⚽🥅"
    date: "2026-06-11"
    commit: null
    t: null
    quote: "The scoring logic is simple: 3 points for an exact score prediction. 1 point for predicting the correct match outcome."
  - kind: blog
    url: https://gerardorenteria.blog/2026/06/11/world-cup-in-business-central-predictions-and-results-%e2%9a%bd%f0%9f%a5%85/
    title: "World Cup in Business Central: predictions and results ⚽🥅"
    date: "2026-06-11"
    commit: null
    t: null
    quote: The leaderboard brings all predictions together into a general ranking that makes it easy to see who is leading.
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
post_id: "14816"
source_id: gerardorenteria-blog
source_name: Gerardo Renteria
url: https://gerardorenteria.blog/2026/06/11/world-cup-in-business-central-predictions-and-results-%e2%9a%bd%f0%9f%a5%85/
published_at: "2026-06-11T11:51:57.000Z"
author: Gerardo Renteria
full_text: false
words: 1336
quotes:
  - text: The extension setup allows the source URL to be configured.
    why_it_matters: Shows how the solution provides flexibility for connecting to different external data sources
  - text: "The scoring logic is simple: 3 points for an exact score prediction. 1 point for predicting the correct match outcome."
    why_it_matters: Explains the core gamification mechanism that motivates user engagement
  - text: The leaderboard brings all predictions together into a general ranking that makes it easy to see who is leading.
    why_it_matters: Describes how the extension creates social competition and user engagement through visible rankings
code_objects_mentioned:
  - table GDRGWCMatch
  - page GDRGWCMatchList
  - table GDRGWCPrediction
  - page GDRGWCPredictionList
  - codeunit GDRGWCPredictionMgt
  - table GDRGWCLeaderboard
  - page GDRGWCLeaderboard
  - table GDRGWCSetup
  - page GDRGWCSetup
  - codeunit GDRGWCImport
  - page GDRGWorldCupScoresPart
  - other GDRGWorldCupScoresViewer.ControlAddIn
systems:
  - development
versions_mentioned: []
preview:
  embeddable: true
  frame_url: https://gerardorenteria.blog/2026/06/11/world-cup-in-business-central-predictions-and-results-%e2%9a%bd%f0%9f%a5%85/embed/
  image: https://gerardorenteria.blog/wp-content/uploads/2026/06/designer-1.png
  image_alt: null
  image_w: 1024
  image_h: 1024
  site_name: Gerardo Rentería Blog
  favicon: https://gerardorenteria.blog/wp-content/uploads/2020/11/cropped-wolficon.jpg?w=32
  probed_at: "2026-10-07T11:50:33.329Z"
---

# World Cup in Business Central: predictions and results ⚽🥅

[Read the post](https://gerardorenteria.blog/2026/06/11/world-cup-in-business-central-predictions-and-results-%e2%9a%bd%f0%9f%a5%85/) · Gerardo Renteria (Gerardo Renteria) · 2026-06-11 · 1336 words · tier community · reviewed (checked by Opus)

> A World Cup prediction extension for Business Central that lets users share forecasts, track matches imported from a JSON source, register predictions, and compete on a leaderboard with automatic scoring based on exact scores or correct outcomes.

## Key points

- Extension imports World Cup matches from public JSON sources and displays date, time, round, group, teams, stadium, and results
- Users enter predictions for each match and earn points automatically: 3 for exact score, 1 for correct outcome
- Leaderboard ranks users by total points and tracks exact hits and correct outcomes across all predictions
- Role Center widget visualizes World Cup matches and results; setup page configures the external data source URL
- Solution includes tables for matches and predictions, pages for calendar and forecasts, codeunits for import and scoring logic, and control add-in for visual display

## Quotes

- "The extension setup allows the source URL to be configured." (Shows how the solution provides flexibility for connecting to different external data sources)
- "The scoring logic is simple: 3 points for an exact score prediction. 1 point for predicting the correct match outcome." (Explains the core gamification mechanism that motivates user engagement)
- "The leaderboard brings all predictions together into a general ranking that makes it easy to see who is leading." (Describes how the extension creates social competition and user engagement through visible rankings)

## AL objects mentioned

As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.

- table "GDRGWCMatch"
- page "GDRGWCMatchList"
- table "GDRGWCPrediction"
- page "GDRGWCPredictionList"
- codeunit "GDRGWCPredictionMgt"
- table "GDRGWCLeaderboard"
- page "GDRGWCLeaderboard"
- table "GDRGWCSetup"
- page "GDRGWCSetup"
- codeunit "GDRGWCImport"
- page "GDRGWorldCupScoresPart"
- other "GDRGWorldCupScoresViewer.ControlAddIn"

Not found in BC28-30: table "GDRGWCMatch", page "GDRGWCMatchList", table "GDRGWCPrediction", page "GDRGWCPredictionList", codeunit "GDRGWCPredictionMgt", table "GDRGWCLeaderboard", page "GDRGWCLeaderboard", table "GDRGWCSetup", page "GDRGWCSetup", codeunit "GDRGWCImport", page "GDRGWorldCupScoresPart".

## Context

- Features: Match import from external JSON, User predictions per match, Automatic point calculation, Leaderboard ranking, Match filtering and refresh, Role Center widget, External data source configuration, Competitive scoring system

Source: Gerardo Renteria, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.
