You can configure the Mashup channel in your application to embed Pega Platform content in an external application, for example, to create new
work for a case type or to display a harness. Mashup code is generated as HTML that you can
cut, paste, and view within a page or view of an external application.
You can also quickly test how the generated mashup code looks in a test demo mobile
app. To view your mashup, you must download the Pega Mashup Preview mobile app from
the Apple App Store or Google Play, and scan a QR code by using the app.
-
Click the name of your application, and then click Channels and Interfaces.
-
In the Create new channel interface section, click
Mashup.
-
In the Mashup name field, enter a name for the Mashup
channel interface.
- Optional:
To distinguish this channel interface from other channel interfaces that use
the Mashup channel, enter short text in the Description
field that describes the purpose of the channel interface.
-
In the Mashup URL field, enter the URL for a Pega
Platform instance, for example:
http://sample.pega.com:8080/prweb/
-
In the Action list, click a Pega Platform action, for example:
Create new
work
.
Depending on the selected action, you might have to specify additional
information. For example, for the Create new work
action, you
must specify the case type.
- Optional:
To test your cases for the Pega Platform
application in a demo mashup mobile app:
-
Click Try Mobile Mashup.
-
Download and install the Pega Mashup Preview mobile app from the Apple App
Store or Google Play.
-
Open the mobile app and scan the displayed QR code.
You can also enter the URL for the Pega Platform
application from step 5 and the credentials manually.
-
Click Mashups tab.
-
Click the case name that you specified in step 6 to verify that you can create
new work, and check the branding for the app.
-
Click Generate.
-
Copy the generated HTML code from the Mashup code text
area, for example, click Copy to clipboard.
You can then paste the HTML into a web page or a view of an external
application.
-
Click Save.