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

Table of Contents

Article

Overriding a CPM payload

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:

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

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:

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

Published April 7, 2016 — Updated April 8, 2016

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.