Skip to main content

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Overriding a CPM payload

Suggest edit Updated on September 25, 2019
This article applies to users who are upgrading to Pega Customer Service from Customer Process Manager (CPM) 6.2 SP2 and prior versions.

If you have overridden an instance of CPMPayLoad that belongs to the PegaCA-Work class or a class extending from PegaCA-Work, add the following lines of code at the top of the <script> tag:


<script>
if (!pega.u.d.cpm) {
    pega.u.d.cpm = {};
}

If you have overridden CPMPayLoad from the PegaCA-Admin-Campaign class or a class that extends from the PegaCA-Admin-Campaign class, add the following lines of code at the top of the <script> tag:


<script>
if ((pega.u.d) && (!pega.u.d.cpm)) {
    pega.u.d.cpm = {};
}
Did you find this content helpful? YesNo

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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