Pega IAC, unable get openAssignment to work
Hi there,
I am new to IAC, and unable to get the openAssignment to work.
openAssignmentdoAction("gadgetName","openAssignment", "key", paramObjectconfigObject) – open assignment
Here is the setting in the DIV block.
Javascript to place in header tag
<script src="PegaInternetApplicationComposer.js" ></script>
<!--Uncomment the line below to view client logs-->
<!--<script src="PegaInternetApplicationComposerLog.js" ></script>-->
<script>
pega.web.config.encrypt =false;
pega.web.config.gatewayURL = "/prgateway/PRPCGateway/";
pega.web.config.appName = "MyApp1";
pega.web.config.systemID = "local719";
pega.web.config.thread = "STANDARD";
</script>
HTML to place in body tag
<!--Note: The values for UserIdentifier and Password may be assigned dynamically. The values shown here are for a specific user.-->
<div id="MyOpenAssignment - Manager"
style="overflow:auto"
PegaGadget="MyOpenAssignment - Manager"
PegaResize="stretch"
PegaA="openAssignment"
PegaA_harnessName="User"
Hi there,
I am new to IAC, and unable to get the openAssignment to work.
openAssignmentdoAction("gadgetName","openAssignment", "key", paramObjectconfigObject) – open assignment
Here is the setting in the DIV block.
Javascript to place in header tag
<script src="PegaInternetApplicationComposer.js" ></script>
<!--Uncomment the line below to view client logs-->
<!--<script src="PegaInternetApplicationComposerLog.js" ></script>-->
<script>
pega.web.config.encrypt =false;
pega.web.config.gatewayURL = "/prgateway/PRPCGateway/";
pega.web.config.appName = "MyApp1";
pega.web.config.systemID = "local719";
pega.web.config.thread = "STANDARD";
</script>
HTML to place in body tag
<!--Note: The values for UserIdentifier and Password may be assigned dynamically. The values shown here are for a specific user.-->
<div id="MyOpenAssignment - Manager"
style="overflow:auto"
PegaGadget="MyOpenAssignment - Manager"
PegaResize="stretch"
PegaA="openAssignment"
PegaA_harnessName="User"
PegaA_pzPrimaryPage="pyPortal""
PegaA_key="SC1-DIV-UNIT-MYAPP1-WORK A-6"
PegaA_readOnly="false"
PegaDefer="false"
PegaA_params={UserIdentifier:"manager@sc1",Password:"cnVsZXM%3D"} >
</div>
The error I am getting is
Error message | Failed to find a 'RULE-OBJ-ACTIVITY' with the name 'OPENANDLOCKWORK' that applies to 'SC1-Div-Unit-MyApp1-Work-AssetReg'. There were 5 rules with this name in the rulebase, but none matched this request. The 5 rules named 'OPENANDLOCKWORK' defined in the rulebase are: 5 unrelated to applies-to class 'SC1-Div-Unit-MyApp1-Work-AssetReg', for example: 'Assign-'. |
Please advise... thank you in advance.