Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

MediaCo sample application

Updated on October 10, 2022

The MediaCo scenario represents a typical case in a cable company, in which a user raises a service request for a new connection. A manager or technical user then updates the service request, which updates the service fulfilment status. The MediaCo sample application is packaged as a ZIP in the downloadable SDK file in Pega Marketplace. To install the sample application, you import the ZIP file into Pega InfinityTM

Modes of running the application

MediaCo can be used as an embedded application as well as a stand-alone application. Both implementations are supported by the SDK as separate modes: Embedded, and Portal. You can use the Embedded only to create service requests. For all other operations, you use the Portal mode. For more information, see Application modes.

Important: You must confirm that the MediaCo sample application is working with both modes before you try to get the SDK working for your application. This helps validate the SDK installation with a known good application.

Available users

The sample application provides the following user IDs that you use to access the application:

  • Administrator (admin@mediaco)
  • Customer (customer@mediaco)
  • Manager (manager@mediaco)
  • Representative (rep@mediaco)
  • Technical user (tech@mediaco)

For detailed information about the login credentials and supported operations, see Roles and users.

Supported operations

You can perform the following operations using the MediaCo sample application:

  • Create service request.
  • Request a discount.
  • Approve and assign discount.
  • Complete the service request.
Note: You can use the Embedded mode only to create service requests. For more information, see Supported operations.

Launching the MediaCo sample application

Open a web browser and enter one the following URLs, depending upon your technology platform, the configuration of the webpack-dev-server, and your preferred application mode:

TechnologyEmbedded modePortal mode
Angular

http://localhost:3500/embedded

https://localhost:3500/embedded

http://localhost:3500/portal

https://localhost:3500/portal

React

http://localhost:3502/embedded

https://localhost:3502/embedded

http://localhost:3502/portal

https://localhost:3502/portal

Web Components

http://localhost:3501/embedded

https://localhost:3501/embedded

http://localhost:3501/portal

https://localhost:3501/portal

For example:

To launch the MediaCo sample application in the Embedded mode in React, enter the following URL in your browser:

http://localhost:3502/embedded

To launch the MediaCo sample application in the Portal mode in React, enter the following URL in your browser:

http://localhost:3502/portal
Note: Use the http or https version based on the configuration of your webpack-dev-server. The URL for launching the MediaCo sample application is the default URL configured in the application's OAuth 2.0 client registration. You can check the default URL in the application's OAuth 2.0 client registration records by clicking Supported grant types > List of redirect URIs. You can also use a different hostname and port number. For more information, see the Configure SDK Content Server section in the SDK guide. 

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us