Skip to main content

Can anyone help me to understand why am I loosing the reference from the lastscreen controlkey ?

 

 

I’m not sure which one I should use: getcurrentkey or getcontrolvalue. For me is not clear. Anyhow it is not fetching the selected Attribute from the list. 

Any ideas ?

@RTTATOVAR what is the script you are using to navigate from the Hyperlink to the 2nd screen?

 

Without seeing that script I think there are two possible paths you can go,

 

  1. Use the keys 
    1. On the hyperlink script you can use ‘setCurrentKeys’ and then navigate to the new screen and it should populate the relevant data (from my experience this sometimes doesn’t work in some screen, hence I usually take the cache route)
  2. Using the cache
    1. On the hyperlink script set the next screen keys using the ‘setCache’ function.
    2. And on the target screen refresh script, use the ‘getFromCache’ and then use ‘setCurrentKeys’ function to set the current screen keys

 

Thank you all,

I used set and get from cache to solve this problem.


Reply