Question
BlueRose Technologies
AU
Last activity: 18 Jul 2016 15:30 EDT
How to Refresh a section using "ReloadSection" Activity
Hi All,
I want to refresh a section using "ReloadSection" Activity. I have passed the parameters "StreamName", "StreamClass" and "bClientValidation". I am not able to refresh my target section. There is an exception in the tracer saying "Missing stream key property pyOwner".
Can somebody help me understand when do we get this exception and how to handle this? Thanks in advance.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Blue Rose Technologies GmbH
DE
Hi Giridhar,
To start with Run Activiy action is supposed to execute an activity in the server which inturn updates some pages in the clipboard. That is all it could accompolish. It will not bring any response back from the server (except for the change tracker div). So your usage of refreshing the section using Run Activity action will not work.
Coforge
US
Can you try out of the box "Refresh Section" itself? It will address the same scenario.
BlueRose Technologies
AU
Hi Imranullah Mohammed DawoodBasha,
Thanks for your input. I have another PDN discussion running where "Refresh-other Section" is not working. https://collaborate.pega.com/question/post-value-action-actions-tab-throwing-js-error
Hence, I have to try this "ReloadSection" Activity as a work around.
I could overcome the exception in the previous attachment and "ReloadSection" activity is executing successfully. I could also see my section being executed in the tracer and "ReloadSection" Activity event triggered in the developer tool. But, it is surprising that I still don't see my section in the end user UI. PFA document for the screenshots.
Can anybody let me know if I am missing out anything and if there are any other options as well? Thanks in advance.
-
Rohit Arvind Chakrapani
BlueRose Technologies
AU
Hi All,
Can somebody shed some light on this? Thanks in advance.
Pegasystems Inc.
IN
Hello Giridhar,
Based on the scenario, I understand that section is refreshed using "ReloadSection" activity. However, It is not able to map the target element in the UI to apply the generated mark up by the activity.
I understand the you have chosen calling ReloadSection activity to referesh the section as Refresh-Other-Section action is not working for your scenario. Am I correct ? If no, Could you please let us know the business scenario where you would like to go for ReloadSection activity instead of the Refresh actions.
Thank you,
BlueRose Technologies
AU
Hi Gangadhar, Thanks for your reply. Yes, I am using ReloadSection activity because "Refresh-Other Section" action is not working for my scenario where I am triggering the onclick event on my link present in the left panel while I have to refresh a section present in the center panel of my screen layout. Can anyone help me on this? Thanks in advance.
Accepted Solution
Blue Rose Technologies GmbH
DE
Hi Giridhar,
To start with Run Activiy action is supposed to execute an activity in the server which inturn updates some pages in the clipboard. That is all it could accompolish. It will not bring any response back from the server (except for the change tracker div). So your usage of refreshing the section using Run Activity action will not work.