Mashup UI not responding when using LDAP
Hi
I am trying to test a Pega Web mashup code using the PRWebLDAP1 servlet. When i try to load the mashup using the normal prweb servlet , the interaction portal with the interaction case works fine i.e. I am able to click around and create cases. However when I am using the ldap servlet and authenticating a new user , the portal is displayed along with the interaction case, but I am not able to create any cases from the interaction driver. The AddTask button is not responding to the clicks.Can you please point me where I am going wrong? Here is the code snippet:
<html>
<head>
<title>KMP Launch</title>
</head>
<script src ="http://myserver/prweb?pyActivity=pzIncludeMashupScripts"></script>
<script>
pega.web.config.systemID="DEV";
pega.web.config.appName="MyAPP";
var params = "[UserIdentifier:'SalesUser']";
function openCase() {
pega.web.api.doAction("PegaGadget", "createNewWork", "ABC-Work-Grp1-Interaction-Call", "CPMInteraction", params);
}
</script>
<div data-pega-gadgetname ='PegaGadget'
style="overflow:auto;width:100%;height:2100px;"
data-pega-threadname ='STANDARD'
data-pega-isdeferloaded ='false'
data-pega-action ='createNewWork'
Hi
I am trying to test a Pega Web mashup code using the PRWebLDAP1 servlet. When i try to load the mashup using the normal prweb servlet , the interaction portal with the interaction case works fine i.e. I am able to click around and create cases. However when I am using the ldap servlet and authenticating a new user , the portal is displayed along with the interaction case, but I am not able to create any cases from the interaction driver. The AddTask button is not responding to the clicks.Can you please point me where I am going wrong? Here is the code snippet:
<html>
<head>
<title>KMP Launch</title>
</head>
<script src ="http://myserver/prweb?pyActivity=pzIncludeMashupScripts"></script>
<script>
pega.web.config.systemID="DEV";
pega.web.config.appName="MyAPP";
var params = "[UserIdentifier:'SalesUser']";
function openCase() {
pega.web.api.doAction("PegaGadget", "createNewWork", "ABC-Work-Grp1-Interaction-Call", "CPMInteraction", params);
}
</script>
<div data-pega-gadgetname ='PegaGadget'
style="overflow:auto;width:100%;height:2100px;"
data-pega-threadname ='STANDARD'
data-pega-isdeferloaded ='false'
data-pega-action ='createNewWork'
data-pega-action-param-classname = "ABC-Work-Grp1-Interaction-Call"
data-pega-action-param-flowname = "CPMInteraction"
data-pega-applicationname =”MyAPP”
data-pega-systemid ='pega'
data-pega-resizetype ='stretch'
data-pega-url ="http://myserver/prweb/PRWebLDAP1"
data-pega-action-param-parameters="{UserIdentifier:'SalesUser' ,pzUsePreferenceSkin:'always',pzSkinName:'UserPortalSkin'}"
>
</body>
</html>
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.