How to Refresh a section using "ReloadSection" Activity
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.
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.
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.
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.
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.