Question
Not Applicable
IN
Last activity: 23 Sep 2024 3:57 EDT
Unable to fetch data from a data page using pop-up window as local action
Hi,
I have created a report definition and displayed the report in a section in table layout. The report definition fetches the list of employees and their corresponding details, and is in the class NuBank-LeaveApp-Data-EmployeeDetails and the section is created in NuBank-LeaveApp-Work-LeaveApplication.
When the case is viewed in the manager portal for approval then the list of employees under this manager (Supervisor) is appearing correctly (refer to screen 1 of attachment 'Problem definition-1'). Now in order to show the leave details corresponding to a specific employee in the pop-up, I am applying an action on the button 'Show Details' (refer to screen 2 and 3 of attachment 'Problem definition-1'). The local action is a flow-action 'ShowDetailsInPopUp' where I am trying to use a section 'PopUpLeaveDetails' (refer to screen 4 of attachment 'Problem definition-2'). This section has another section embedded in it that is trying to call leave details from the data page 'Leave Details' (refer to screen 5 of attachment 'Problem definition-2'). In order to make the employee ID dynamic (according to the row on which the user clicks), I use the 'EmployeeID' from pyWorkPage. However, the output is showing static data corresponding to employee E001 and is not changing even if I click on the button 'Show Details' of other employee IDs (refer to attachment 'Output Screen'.
How do I make the leave details change in the pop-up when I click on the 'Show Details' button corresponding to a different employee ID?
Regards,
Hi,
I have created a report definition and displayed the report in a section in table layout. The report definition fetches the list of employees and their corresponding details, and is in the class NuBank-LeaveApp-Data-EmployeeDetails and the section is created in NuBank-LeaveApp-Work-LeaveApplication.
When the case is viewed in the manager portal for approval then the list of employees under this manager (Supervisor) is appearing correctly (refer to screen 1 of attachment 'Problem definition-1'). Now in order to show the leave details corresponding to a specific employee in the pop-up, I am applying an action on the button 'Show Details' (refer to screen 2 and 3 of attachment 'Problem definition-1'). The local action is a flow-action 'ShowDetailsInPopUp' where I am trying to use a section 'PopUpLeaveDetails' (refer to screen 4 of attachment 'Problem definition-2'). This section has another section embedded in it that is trying to call leave details from the data page 'Leave Details' (refer to screen 5 of attachment 'Problem definition-2'). In order to make the employee ID dynamic (according to the row on which the user clicks), I use the 'EmployeeID' from pyWorkPage. However, the output is showing static data corresponding to employee E001 and is not changing even if I click on the button 'Show Details' of other employee IDs (refer to attachment 'Output Screen'.
How do I make the leave details change in the pop-up when I click on the 'Show Details' button corresponding to a different employee ID?
Regards,
Sankar