The Uplus application showcases how a web application can be integrated with the Pega Platform around Mashup, Co-Browse, Pega chat and Knowledge Management as well as with the Customer Decision Hub (CDH) for offers and realtime streams.
Changes in pega-mashup-webcomponent-light-all.js
1)Changed the title 'My worklist' to 'Your pending actions' and 'Case information' to 'Requested case information' as its used for enduser
2)Currently after opening the assignment from worklist, though there is only one assignment(currently opened) 'Actions button' in the header is shown. So added login in line 481 to hide Actions if there is only one assignment action.
Changes in Worklist
1)Urgency column is removed as its not needed for enduser.
2)Existing Columns are renamed as 'Reference number' for 'Case ID' and 'Description' for 'Name'
Invoking Recent activity
1)For recent activity we have invoked data api- data/D_ServiceItemsHistory?ID="+window.PegaCSWSS.ContactID+"&Type=CONTACT". Currently this data page is present in CS and takes two parameters ID(ContactID) and Type(Contact/Business). The parameters are hardcoded in the api but in future we would be moving them to settings page. To use this feature by other apps that are not built on CS, they should create the D_ServiceItemsHistory data page in their layer. If this information can be added in the wiki then the apps can tweak the component accordingly.
2)A new function DDE is added to render the recent activity content. Could you let us know if the naming convenion of the function should be changed?
3)Columns displayed in recent activity are Reference number(Caseid),Request date(Case creation date),Description(Case label),Status(Case status)
4)Once we open a case, the list of assignments is hidden in recent activity and only the case information is shown.
Changes in _webcomponent.css
1)In account page, all the static data displayed has a border but not the header like 'Your bill' in account page. When we render the todo component using dxapi, the entire component - header and data gets the border. Added class 'mashupwidget' to restrict the border to reflect only for data and not the header. This logic would impact only todo and recent activity components
Changes in settings
1)Added flag showattachments to hide/show attachments within case using dxapi
2)Added new file RecentActivitySettings
Changes in Main.vue
1)Added component RecentActivitySettings
Changes in WebComponent.vue
1)Added css class 'mashupwidget' to pega-mashup-light.
2)Added property recentactivitytoggle to distinguish between todo and recent activity and is set in RecentActivity.vue
3)Set mytag.showattachments based on setting page selection
Changes in PegaWebMashup.vue
1)Added logic to invoke mashup for todo/recentactivity based on recentactivitytoggle
Changes in pega-mashup-webcomponent-light-all.js 1)Changed the title 'My worklist' to 'Your pending actions' and 'Case information' to 'Requested case information' as its used for enduser 2)Currently after opening the assignment from worklist, though there is only one assignment(currently opened) 'Actions button' in the header is shown. So added login in line 481 to hide Actions if there is only one assignment action. Changes in Worklist 1)Urgency column is removed as its not needed for enduser. 2)Existing Columns are renamed as 'Reference number' for 'Case ID' and 'Description' for 'Name' Invoking Recent activity 1)For recent activity we have invoked data api- data/D_ServiceItemsHistory?ID="+window.PegaCSWSS.ContactID+"&Type=CONTACT". Currently this data page is present in CS and takes two parameters ID(ContactID) and Type(Contact/Business). The parameters are hardcoded in the api but in future we would be moving them to settings page. To use this feature by other apps that are not built on CS, they should create the D_ServiceItemsHistory data page in their layer. If this information can be added in the wiki then the apps can tweak the component accordingly. 2)A new function DDE is added to render the recent activity content. Could you let us know if the naming convenion of the function should be changed? 3)Columns displayed in recent activity are Reference number(Caseid),Request date(Case creation date),Description(Case label),Status(Case status) 4)Once we open a case, the list of assignments is hidden in recent activity and only the case information is shown.
Changes in _webcomponent.css 1)In account page, all the static data displayed has a border but not the header like 'Your bill' in account page. When we render the todo component using dxapi, the entire component - header and data gets the border. Added class 'mashupwidget' to restrict the border to reflect only for data and not the header. This logic would impact only todo and recent activity components
Changes in settings 1)Added flag showattachments to hide/show attachments within case using dxapi 2)Added new file RecentActivitySettings
Changes in Main.vue 1)Added component RecentActivitySettings
Changes in WebComponent.vue 1)Added css class 'mashupwidget' to pega-mashup-light. 2)Added property recentactivitytoggle to distinguish between todo and recent activity and is set in RecentActivity.vue 3)Set mytag.showattachments based on setting page selection
Changes in PegaWebMashup.vue 1)Added logic to invoke mashup for todo/recentactivity based on recentactivitytoggle