This template integrates the Web Experience Toolkit (WET) with Power Pages Enhanced Data Model, providing a streamlined foundation for Canadian government web applications.
- WET Framework: v4.0.85
- GC Web App Template: v16.2.0
- CDTS CSS Library: v5.0.4
- jQuery Dependency: v2.2.4
- Bootstrap: v4 (WET) / v5 (Power Pages)
- Power Pages: v9.7.7.11 (Enhanced Data Model)
This template uses a static implementation of the Centrally Deployed Templates Solution (CDTS) rather than dynamic loading. This approach was chosen to:
- Eliminate rendering delays
- Prevent library conflicts with out-of-the-box Power Pages components
- Ensure consistent performance
The template currently uses Bootstrap v4 to maintain compatibility with WET libraries. Power Pages' Bootstrap v5 has been disabled and can be re-enabled once WET libraries are updated to support the newer version.
- Accelerated Development — Focus on business requirements rather than framework integration.
- Easy Maintenance — Simplified library management and a clear upgrade path.
- Conflict-Free — Resolved compatibility issues between WET and Power Pages libraries.
The WET library stack can be upgraded as needed. Monitor WET framework updates for Bootstrap v5 compatibility to take advantage of Power Pages' enhanced styling capabilities.
This comprehensive guide walks you through installing the WET-BOEW (Web Experience Toolkit - Boîte à outils de l'expérience Web) Power Pages Template in your Microsoft Power Platform environment.
What is WET-BOEW? WET-BOEW is a Canadian government web framework that provides reusable components and templates for creating accessible, usable, and interoperable websites.
You can choose between two installation methods:
- Method A: Upload managed solution via web interface (beginner-friendly)
- Method B: Install via Command Line Interface (recommended for advanced users)
- Microsoft Power Platform environment with appropriate licensing
- Power Pages licensing (per website)
- Administrative or Environment Maker permissions
- For Method A: Environment Maker role or higher
- For Method B: System Administrator role + Power Platform CLI access
To enable Enhanced Data Model:
- Navigate to Power Platform Admin Center
- Select your target environment
- Go to Settings → Features
- Enable Power Pages Enhanced Data Model
- Save changes and wait for the feature to activate (may take several minutes)
Recommended for: Novice developers, quick installations, environments without CLI access
- Obtain the "GCWeb Power Pages Template" unmanaged solution file
- File format:
.ziparchive - Ensure you have the latest version
- Verify file integrity before proceeding
- File format:
- Open your web browser
- Navigate to https://make.powerapps.com
- Sign in using your Microsoft 365 credentials
- Required permissions: Environment Maker or System Administrator
- In the top-right corner, click the Environment dropdown
- Select your target environment where you want to install the template
- Verify you're in the correct environment before proceeding
- In the left navigation pane, click Solutions
- Click the Import solution button at the top
- Click Browse and select your downloaded
.zipfile - Click Next to proceed
- Review the solution details:
- Solution name and version
- Publisher information
- Components included
- Click Import to begin the installation process
- The import process will display a progress indicator
- Typical duration: 5-15 minutes depending on solution complexity
- Do not close the browser tab during installation
- Review any warnings or messages that appear
- Once complete, you'll see a success message
- Check for any error messages or failed components
- Navigate to Solutions and verify "GCWeb Power Pages Template" appears in your site component list
Recommended for: Experienced developers, automated deployments, bulk installations
Choose your preferred installation method:
Option 1: Windows Package Manager (Recommended)
winget install Microsoft.PowerPlatformCLIOption 2: Manual Download
- Download from Microsoft Learn Documentation
- Run the installer with administrator privileges
- Restart your command prompt/PowerShell session
Option 3: Visual Studio Code Extension
- Install the "Power Platform Tools" extension
- Includes integrated CLI functionality
pac --versionExpected output should show version information.
- Press
Win + Xand select "Windows PowerShell (Admin)" or "Terminal (Admin)" - Navigate to your working directory:
cd C:\YourWorkingDirectory# Replace <org> with your organization's URL segment
# Example: contoso.crm.dynamics.com
pac auth create --url "https://<org>.crm.dynamics.com" --name "myOrg"Authentication Process:
- A browser window will open automatically
- Complete the interactive sign-in process
- Use your System Administrator credentials
- Return to PowerShell once authentication completes
Verify Authentication:
pac auth list# Navigate to your template directory
cd "C:\<path-to-your-template>\power-pages-template"
# Verify template structure (optional)
dir# Basic import command
pac pages import -p "C:\<path>\power-pages-template" -env "<environment-id>" -mv 2
# Alternative with verbose output
pac pages import --path "C:\<path>\power-pages-template" --environment "<environment-id>" --model-version 2 --verboseParameter Explanations:
-por--path: Path to your template folder-envor--environment: Target environment ID or URL-mvor--model-version: Data model version (use 2 for Enhanced Data Model)
Get Help:
pac pages import --help- The CLI will display real-time progress updates
- Monitor for any error messages or warnings
- Import typically takes 10-20 minutes for complete templates
Reference Documentation: Microsoft Learn - PAC Pages Import
Important for multilingual support (English/French)
- Navigate to Power Apps
- Select your environment
- Go to Dataverse → Tables
- Locate and open Site Languages table
- Find the language records and update:
- English record: Change Language Code to
en - French record: Change Language Code to
fr
- English record: Change Language Code to
- Save all changes
Link your Power Pages website to the GCWeb template
- Navigate to Admin Center → Your Environment → Resources → Power Pages
- Select your target power pages (must be an enhanced data model)
- Go to Edit
- In the Website Record swap the record to GCWeb Power Pages Template.
- Go to Power Page Management app, then open the website record to ensure the Primary Domain Name is pointing to your domain set for Power Pages.
- Preview your website: Click the preview button in Power Pages
- Verify template elements:
- Header displays correctly with GCWeb styling
- Footer appears with appropriate branding
- Language switching functions (if applicable)
- Responsive design works across devices
- Check accessibility features:
- Screen reader compatibility
- Keyboard navigation
- Color contrast compliance
- Power Pages Documentation
- WET-BOEW Framework Guide
- Power Platform CLI Reference
- Power Pages Community Forums
- Why is my solution not importing?
- Error: Solution "GCWeb Power Pages Template" failed to import: Import failed: The attachment is either not a valid type or is too large. It cannot be uploaded or downloaded.
- Solution: Ensure you have removed JavaScript extension from the block attachments.
- Path: Admin Center > Your Environment > Settings > Privacy + Security > Blocked Attachments (remove "js;" from the list)
This template is provided "use-as-is". Teams are free to modify it to suit their needs and must ensure it adheres to their department's GoC standards. It's intended as a starting point for Power Pages development.