Question
Virtusa Consulting Services Pvt. Ltd.
US
Last activity: 11 Apr 2016 11:12 EDT
Refresh a data page in a section of a Tab group layout
We have a Dynamic layout group in which, one of the layout has a section in it. The section has a repeating grid with source as a Data page.
At run time, this layout group acts as Tabbed layout. When i click on the tab which has this section, it should refresh the data page and should get updated data. How to achieve this?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
CapitalOne
US
we have the same requirement and implemented as below in 7.1.9, which is working fine.
1)check the "Refresh when active" check box in the tab section properties
2)check the "Reload once per interaction" check box in the datapage refresh strategy.
Thanks
Sudeerkumar Munaga
Pegasystems Inc.
IN
Hi Kumar, Good Morning!
could you please mention the data page configuration (structure, edit mode, scope) and if any parameters are defined...
based on the data page configuration please try ...
- invalidating the data page (flush/remove data page as first step in the activity) configured at refresh section or
- enable Reload once per interaction under load management tab..
Please share your observations/thoughts, Thank you!
psahukaru
United health group
IN
HI Phani,
What is the advantage of using data pages instead of clipboard pages if we choose "Refresh per interaction" in Data page.
Pegasystems Inc.
IN
Data page configuration is secondary. I think Goutham is trying to achieve 'Refresh on active' that used to happen with older Tabbed layouts. There is no OOTB way of doing this with layout group.
My first thought was you could configure a 'Refresh' action on click of Dynamic layout but that would refresh the section only when you click inside the tab and not on click of tab title. You could try 'Refresh condition' of a dynamic layout.
Updated: 16 Sep 2015 5:03 EDT
Virtusa Consulting Services Pvt. Ltd.
US
Yes Vikas. If i can some how refresh the section with an activity, i can flush the data page in that activity and when the section is refreshed, it will reload the data page. And, i don't have a refresh condition i have to refresh it on click of the tab.
Virtusa Consulting Services Pvt. Ltd.
US
Does anyone know how we can refresh the section on click of the tab?
Pegasystems Inc.
US
This may be version dependent, but in the latest versions of Pega 7, there is a "Refresh when active" option in the tab's layout property panel. Selecting this option will trigger a refresh of the tab when it is clicked off from another tab.
Thanks.
B.
Pegasystems Inc.
DE
We have pretty much the same requirement and I haven't found yet a way to refresh the tab when clicking on the the tab header. I've tried using the Refresh Condition of the dynamic layout but that hasn't worked out.
We're on 7.1.8.
Citicorp Services India Private Limited
IN
Hi Goutham,
1. Create a flow action rule Say 'FA1', and embed the section 'Sec1' (which has been embedded in the layout),
2. Create a new activity rule say 'A1' to flush and load the Data page.
3. Refer this newly created activity 'A1' in the pre processing activity of the flow action rule form 'FA1'.
4. Embed 'pxLocalAction' section in the layout of the Dynamic Layout group, configure the 'pxLocalAction' with the flow action rule 'FA1' we have created.
5. Save the main section, run the flow.
I hope this will help implementing your use case. I too did not find how to refresh the data page and section on click of the tab.
Please let me know if this helps.
Thanks,
Gowrishankar.
Virtusa Consulting Services Pvt. Ltd.
US
Hi Gowrishankar,
This is helpful. I have tried this and only problem with this is, the pre-activity will be called only when the flow action is reloaded again and this happens when the section pxLocalAction reloads which will happen only when the harness is refreshed. So, it will not refresh every time we click on the tab.
Cheers,
Goutham
Accepted Solution
CapitalOne
US
we have the same requirement and implemented as below in 7.1.9, which is working fine.
1)check the "Refresh when active" check box in the tab section properties
2)check the "Reload once per interaction" check box in the datapage refresh strategy.
Thanks
Sudeerkumar Munaga
Virtusa Consulting Services Pvt. Ltd.
US
That solution sounds like it should work. I will give it a try and let you know. Thank you Sudeer