Constellation's flexible architecture empowers advanced users (professional front-end developers with ReactJS and web technology expertise) to extend the platform. You can achieve this by programmatically combining core Constellation presentational components and leveraging the Constellation DX API to build custom components, known as "Constellation DX components."
This gallery provides a collection of ready-to-use and customizable component. Explore them directly or delve into the source code for deeper understanding. Use this resource to gain inspiration, best practices, and a solid foundation for implementing custom components.
These components have been tested on Pega 23.1 and might not run on older versions of the platform - For older versions, the recommendation is to download the supported version of the Constellation DX Component builder package @pega/custom-dx-components@XXXX supported by your Pega Platform version and create new components using the command line utility 'npm run create'.
A complete demonstration of these Constellation DX components is available at pegasystems.github.io/constellation-ui-gallery
Pre-build versions of these components is available as a RAP file that you can import into your Pega application - see github.com/pegasystems/constellation-ui-gallery/releases
To build and compile the application - use the following commands:
Install npm from nodejs.org
You should have the following versions installed: System node version 18.13.0 and npm version 8.
If you already have VS Code and Docker installed, you can click here to get started. Clicking these links will cause VS Code to automatically install the Dev Containers extension if needed, clone the source code into a container volume, and spin up a dev container for use.
For more details, see docs.pega.com
npm install
npm run start
For unit test results, you can run:
npm run test
For unit test coverage, you can run:
npm run coverage
The coverage report index.html will be in the 'coverage' folder
npm run buildAllComponents
Install the 'keys' folder provided by the Constellation DX Component builder package and edit the tasks.config.json file with your rulesetName, rulesetVersion, server URL, clientID, user and password
npm run authenticate
Once the authentication is completed - you can publish by running
npm run publishAll
If you are having issues deploying the changes, review the documentation docs.pega.com constellation DX component CLI references