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.

Support Article

Not able to access assignment using IAC

SA-43260

Summary



User has configured one gadget using prgateway.

User action is to open assignment dynamically by passing the Assignment Key through Get method in URL.

But system is not able to parse the value of the Assignment key and throwing error.


Error Messages



Not Applicable


Steps to Reproduce

  1. Configure gadget like below:


<div id="ANZCLW"
style="overflow:auto"
PegaGadget="ANZCLW"
PegaResize="stretch"
PegaA="openAssignment"
PegaA_key= "<% request.getParameter("CaseID"); %>"
PegaA_readOnly="false"
PegaDefer="false"
PegaA_params={UserIdentifier:"modakd1",Password:"cnVsZXM%3D"}>
</div>

2. Create Gadget and deploy it.
3. Access the gadget and observe the error.


Root Cause



User is trying to give <% request.getParameter("CaseID")%> and tries to setup the gadget which is an incorrect configuration.

The issue is not related to PRPC.

Resolution



When one directly tries to open an assignment through gadget setup the key(insKey) is required to open it.

As per user requirement, the user want to dynamically set the variable.

To achieve this configuration, user need to setup the Html in such a way that the key being passed should be set to the PegaA_Key attribute in the gadget div.

Refer the below PDN article which will have the data-binding syntax for mashup:

https://pdn.pega.com/pega-web-mashup-data-binding-syntax/pega-web-mashup-data-binding-syntax

Published September 22, 2017 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration 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 Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us