All the Traditional Starter Packs implement a case worker portal example by default. However, the React Starter Pack also implements a Create Case embedding example.
In the Portal example implementation, you can run the Pega application as a standalone application. This is the default implementation of the sample application and requires no special configurations.
Launch the sample application’s portal example after setting the starter pack up using one of the following URLs:
In the Embedded example implementation, you can embed a Pega case experience within another React-based application. This allows you to use the starter pack’s components in the “host” application’s UI.
Configure the EMBEDCFG parameters in the starter pack’s
endpoints.js file before running the application’s Embedded example. By default, the EMBEDCFG settings are configured for the CableCo sample application.
|caseType||The case type instance to create.|
|userIdentifier||The user ID to utilize when creating the case.|
|password||Base-64 encoded password for operator specified by the userIdentifier.|
|passContent||true or false value to indicate whether to pass content based on the selection within the prior screen.||false|
Launch the sample application’s Embedded example after setting the starter pack using one of the following URLs:
Configuring the starter pack to implement the Embedded example
- Open the endpoints.js file with a text editor.
This file is in pega-react > src > _services.
- Scroll to the EMBEDCFG section and then edit the EMBEDCFG parameters.
- Save and close the file.