Posted: 14 Oct 2015 19:04 EDT Last activity: 15 Oct 2015 18:53 EDT
Sometime why clipboard doesn't reflect updated property values on a page but tracer does?
Can someone please clarify this behavior of Pega? I have noticed this behavior many times specially when we call some activity on user action on UI like calling activity from a custom control(using httpRequestAsynch) like radio button, checkbox etc.
In tracer I can see desired properties being properly updated which I could see when I open step page from tracer, but when user action is complete and I open clipboard I don't see those updated properties values on clipboard.
I remember in v 6.x the order of activity call and section refresh is important, if the section contains editable field.
if activity runs before section refresh, the updated value will be overwrriten by the value displayed on the screen, because section refresh automatically post the value back to server side. This behavior has been improved in Pega 7 by providing a check box option "do not post value" in the section refresh event action configuration form.
Yes Chunzhi! This is what exactly I am facing in 7.1.5. I didn't see the checkbox option which says do not post value. I will try that tomorrow and see if that works. I am calling an activity and just after activity call I am refreshing one section from custom control.
Yes Pankaj, this behavior works as expected if we use OOTB controls and use refresh section with activity within refresh section.
I have observed this unexpected behavior when we have to create a custom control like radio button to be used inside a repeating grid to perform some db operation by calling activity and then refresh the section from within that custom control to reflect latest changes. since clipboard is not updated screen doesn't show updated details while tracer show everything executed properly. and it seems as per Chunzhi section reload section posts the cached values which overwrites changes made by activity. I need to find if we have any parameter to pass to reloadSection desktop API function which should skip post value. If you know this version of reloadSection method then can you pls post it here.