Hello,
We have a requirement to show the Wokflow Assignments in an external application as a widget. For this purpose we had used the AssignmentsView package from the CSUI documentation.
As per the documentation its supposed to open the Smart View form onClick of any of the assigment if its enabled in the Workflow. But seems no action is being triggered in our case. I dont see any console errors as well for this.
Below is the code used.
csui.require.config({
config: {
'csui/utils/contexts/factories/connector': {
connection: {
url: '<serverUrl>/api/v1',
supportPath: '<supportpath>',
session: {
ticket: '[LL_REPTAG_OTCSTICKET /]'
}
}
}
}
});
csui.require(["csui/lib/marionette", "csui/utils/contexts/page/page.context",
"csui/widgets/myassignments/myassignments.view"
], function (Marionette, PageContext, MyAssignmentsView) {
var contentRegion = new Marionette.Region({
el: "#content"
}),
pageContext = new PageContext(), // holds the model
myAssignmentsView = new MyAssignmentsView({context: pageContext});
contentRegion.show(myAssignmentsView);
pageContext.fetch();
});
</script>
</head>
<body class="binf-widgets">
<div class="binf-container-fluid grid-rows">
<div class="binf-row">
<div
class="binf-col-sm-5 binf-col-md-6 binf-col-lg-12"
id="content"
></div>
</div>
</div>
</body>
Has anyone have any idea on this.