Skip to main content
March 17, 2022
Question

How to Populate the Custom Picker Data to Next Screen

  • March 17, 2022
  • 3 replies
  • 0 views

Hi All,

I am using custom picker to select the account managers.

So in the current screen, when the user selects the account manager it displays me the selected user in custom picker.

But when it goes to the next screen(used the same UI as previous one),it is not showing me the selected users in custom picker.

The reason is I am using local variable for value parameter in the custom picker since the field which i am trying to write  in DB is of type varchar.

Can you please help me to populate the data to the next screen and also to allow it for further selection.

Thanks in Advance!!

    3 replies

    gopalk2865
    Participating Frequently
    March 17, 2022

    Hi, you would need to use rule input in value parameter or if you are using local variable for value in next screen as well then initialize that local variable with the rule input where you saved the selection.

    March 17, 2022

    Thanks Gopalk!!

    harshitb6843
    March 18, 2022

    Hi there,

    Some things to understand here. Local variables are scoped to be used in the same interface only. They construct and destroy their value within the interface they were called in. To take any value out of an interface, you will have to save it in Ri. But that doesn't mean directly in RI. You can save it in local first and then save that local in RI when the user clicks on the navigation button. 

    I hope it helps.