Question
Cognizant
IN
Last activity: 10 Apr 2024 9:13 EDT
Count of the cases on UI is not visible always.
The count of the cases should be visible on UI always even when we create a new case that count should increment on its own, however when I launch the case for the first time i can see the count and after that it doesnt appear on the UI.
Can someone explain why so?
I have attached the screenshot of UI and section configuration as well.
***Edited by Moderator Marije to change type from General to Product, added Product details and Capability tags****
-
Reply
-
Sudhakar G -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Cognizant
IN
@TanyaS58 This issue is resolved now,changed the source of the table to data page and enabled header and used the source for header as Text Property and passed Dpage.pxResultsCount to make the count visible this approach worked.
Sharing here for reference.
Maantic Technologies Pvt Ltd
US
Hi @TanyaS58
The count of cases may not be visible on the UI if the appropriate logic is not implemented in the application. Here are some possible reasons and solutions:
1. Unbound Data Page: The data page that displays the case count may not be bound to the correct data source. Ensure that the data page is connected to the appropriate work object that contains the case count information.
2. Missing Property: The work object that stores the case count may not have the required property defined. Check if the work object has a property that represents the case count, and if not, create the property and set its value accordingly.
3. Event Handler: The logic to increment the case count on new case creation may not be implemented in the appropriate event handler. Identify the event that triggers new case creation and add an activity to increment the case count within that event handler.
4. Channel Conflict: If you are using multiple channels (e.g., web, mobile, etc.), ensure that the case count is incremented consistently across all channels. Check the code and data binding for each channel to make sure the count is updated properly.
5. UI Not Refreshed: Sometimes, the UI may not automatically refresh to display the updated case count. Try refreshing the page or using a mechanism to trigger a UI refresh after the case creation event occurs.
Hi @TanyaS58
The count of cases may not be visible on the UI if the appropriate logic is not implemented in the application. Here are some possible reasons and solutions:
1. Unbound Data Page: The data page that displays the case count may not be bound to the correct data source. Ensure that the data page is connected to the appropriate work object that contains the case count information.
2. Missing Property: The work object that stores the case count may not have the required property defined. Check if the work object has a property that represents the case count, and if not, create the property and set its value accordingly.
3. Event Handler: The logic to increment the case count on new case creation may not be implemented in the appropriate event handler. Identify the event that triggers new case creation and add an activity to increment the case count within that event handler.
4. Channel Conflict: If you are using multiple channels (e.g., web, mobile, etc.), ensure that the case count is incremented consistently across all channels. Check the code and data binding for each channel to make sure the count is updated properly.
5. UI Not Refreshed: Sometimes, the UI may not automatically refresh to display the updated case count. Try refreshing the page or using a mechanism to trigger a UI refresh after the case creation event occurs.
6. Access Control: Check if there are any access control rules that restrict the visibility of the case count to certain users or roles. Ensure that the current user has the necessary permissions to view the case count.
Debugging Steps:
1. Inspect the data page and ensure it is bound to the correct work object. 2. Check the work object definition to verify if the case count property exists. 3. Trace the event handler for new case creation and identify the activities responsible for incrementing the count. 4. Test the application in different channels to rule out channel-specific issues. 5. Add logging statements to track the value of the case count and observe any unexpected behavior.
By following these steps and considering the possible reasons, you can troubleshoot the issue and make the case count visible on the UI consistently.
Also please check this link
Thanks
Megha
Cognizant
IN
@Megha007 This property is returning the result from a page.pxTotalResultCount and this page is present in the clipboard showing the results correctly over there however when we refresh the section once the count appears but if we perform some other action on the screen this count disappears after that.
Maantic Technologies Pvt Ltd
US
Hi @TanyaS58
Can you trace and check once where the value is getting refreshed and changed. And compare both the scenarios. Please let me know after that.
Thanks
Megha
Maantic Technologies Pvt Ltd
US
Coforge
IN
What are you setting in pxTotalResultCount control. Could you attach the screenshot of that control configuration?
Accepted Solution
Cognizant
IN
@TanyaS58 This issue is resolved now,changed the source of the table to data page and enabled header and used the source for header as Text Property and passed Dpage.pxResultsCount to make the count visible this approach worked.
Sharing here for reference.