Skip to main content
Version: v1 (Current)

Build and Configure a Complete Project

This tutorial connects the component and configuration guides into one deliverable. Build a small conference experience with a welcome app, a portal shell, an optional head widget, an attendee-count tile, structured content, a form and an agenda. Work in a test project and use controlled test attendees.

1. Establish access and the test plan​

Choose the owning team/deployment. Confirm plugin management permissions and project configuration access. Normal project creation expects an eligible Experience Plan; use one already available to your team or have an authorized administrator prepare a test project. Follow Creating a Project.

Record a simple audience model: guest welcome content, attendee-only agenda, and a restricted group page. This will exercise both public and private behavior. Choose a project time zone and start time. Confirm plan/features and what provisioning actually created: a default portal exists only when included by the selected plan/configuration. Preview mode is primarily for evaluation before subscribing and does not waive access or consumable limits.

2. Build the welcome app​

Use Create Your First App for the hub planning or manual path. For a local/manual starting component, this minimal source uses the supplied runtime store. Keep the standard scaffold import below: the production bundler maps it to the installed host store. The reviewed AI scaffold’s @gx-runtime variant can bundle a separate local store instead; do not substitute it.

<script setup>
import { useGxpStore } from '@/stores/gxpPortalConfigStore'
const store = useGxpStore()
</script>

<template>
<section aria-labelledby="welcome-title">
<h1 id="welcome-title" gxp-string="welcome_title">Welcome</h1>
<p>{{ store.getSetting('welcome_message', 'Your conference starts here.') }}</p>
</section>
</template>

Add welcome_title under manifest strings.default and welcome_message under manifest settings, then expose welcome_message through the configuration form. Reuse the supported complete manifest/configuration structure rather than pasting this component alone as an App package. The scaffold installs the gxp-string directive; outside that runtime it needs the strings plugin to apply configured text. The message uses a nullish fallback: an explicit empty string remains empty, rather than showing the fallback. Use App Configuration. Keep data-dependent features in declared bindings; this small welcome screen requires no project-data API credential.

Test the default heading/message, configured replacements and empty-message behavior. Review source, run terminating tests/build with actual test results, publish the intended variant release and record its version and verified commit. See Variants and Releases.

3. Build the shell and optional widget​

Create a theme following Build a Theme. Start with a legacy layout containing a header and <slot> on Public, Private and System surfaces. Publish through the available dashboard Publishing controls when the hub offers only history.

If you need a portal-wide script or library, create a widget using Build a Widget, configure its version and publish through the supported editor. Leave it out if the experience has no such requirement; do not add a widget merely as a source of project API credentials.

4. Build the admin tile​

Create a tile following Build a Dashboard Tile. In Canvas choose Attendee Counts → Total Attendees, name the binding attendee_total, and use the builder to display it. Save, publish the draft and record the version.

5. Create project data​

Create two representative attendees and their groups in the controlled project: one allowed on the restricted route and one excluded. Do not reuse real partner/customer data for the fixture. Add a small collection containing session/help content, a form of the intended supported type, and one agenda session/location. Use Attendees, Collections, Forms and Agenda.

Use existing compatible published apps for the content, form and agenda views, or implement each through the app workflow. Give each app the supported resource dependency and a matching configuration selector. The simple welcome component does not magically provide these additional features.

6. Install and resolve bindings​

Create the project Page/Form installations with the selected published plugins. Configure the welcome message/strings and resolve every collection/form/agenda selector to this project's actual resources. Record the dependency key → resource mapping. Inspect the effective installed version rather than the developer App’s newest draft. Record both explicit selection and resolved version; missing/stale relationships can fall back to a plugin current version. Changing explicit installed-version fields can require super-admin authority, so identify an authorized operator before promising rollback.

7. Configure the attendee portal​

Follow Portals, Domains and Authentication. Select your theme, assign a system subdomain or verified available custom domain, and add the welcome/content/form/agenda installations as routes.

Keep the welcome route public if intended; add a supported authentication method before making the agenda login-required. Configure the restricted route's group rules. Make portal/page active states deliberate and choose the default entry route. A page cannot simultaneously use attendee authentication and its page-level access-code flag.

Attach the optional widget and check its actual theme surface. Install the tile into the intended project dashboard through its Dashboard Tiles → New Tile configuration. Save the instance’s X, Y, width and height using the supported instance configuration, then reload to verify placement. The reviewed dashboard hides its grid toolbar; dragging or a visual grid change alone does not prove backend persistence. Check the actual selected/effective tile version and administrator permissions.

8. Verify the complete project​

Open the final portal URL as a guest, an allowed attendee and an excluded attendee. Test all routes directly as well as through the menu. Submit the form, read collection content, inspect the agenda and confirm the dashboard count. Test invalid inputs, empty data and login/session errors. Use the expected outcomes below to distinguish a working composition from a successful source build.

ScenarioExpected evidence
Guest welcomeIntended published heading/message renders in Public layout without a project-data API request
Guest opens attendee-only agendaLogin is required; copying the page key does not supply attendee identity
Allowed attendee opens restricted routeIntended content and permitted resource rows/fields are available
Excluded attendee opens restricted route directlyAudience gate refuses it; hiding the menu alone is insufficient
Form submissionValid data is stored/reloaded in the intended form; invalid input follows its documented validation behavior
Collection and agendaInstalled selectors resolve this project’s intended records and time zone; excluded records are absent
Dashboard tileProvider’s documented count population matches the controlled data; saved position survives reload
Denied/cross-project APIActual endpoint rejects or filters protected data as specified; record unexpected successful exposure as a failure

Use the owning module/API guide for exact operation IDs, request schemas and refusal behavior. The attendee-count provider population can include/exclude records differently from a filtered attendee list; compare its contract rather than assuming the dashboard must equal an arbitrary UI count.

Complete Project Acceptance, including direct API permission checks and cross-project context. Fix failures with Project Troubleshooting.

9. Make it reusable and hand it off​

If other projects need this experience, compose its resources/plugins into an Experience Plan. Resolve/finalize the worklist or author the template, then create a fresh test project from it and repeat acceptance. A tested hand-built project alone does not prove the plan provisions the same result.

Hand off the release/version inventory, dependency map, portal domain, audience policy, dates/time zone and operational owner. Keep the reusable component definitions separate from the project’s configured data. Retain exact environment/resource URLs, identities by category without credentials, explicit/effective versions, expected versus observed outcomes and sanitized reports with the handoff. Exercise restoring a known-good selection through supported controls, then repeat key allowed/denied cases; code rollback does not reverse saved data or external writes. If plan generation, an integration or a required audience case is untested, record it as pending instead of calling the project complete.