Skip to main content
Known Participant
Apr 7, 2022 2:21 PM UTC
Question

getting default values for pickerFieldCustom

Hello everyone

My requirement is when loading a page there should be a default values in pickerFieldCustom. And also should i have to change the values afterwords. Values for pickerFieldCustom will be a user values. Can anyone help me on this

    6 replies

    gopalk2865
    Participating Frequently
    Apr 7, 2022 4:58 PM UTC

    Hi, you can use local variables to provide value for your picker.configure your value field something like below,

    a!pickerFieldCustom(

    value: if(

    a!isNullOrEmpty (ri!your input),

    local!defaultvalue,

    ri!your input

    )

    Known Participant
    Apr 11, 2022 11:51 AM UTC

    In this I am getting those values as default but I am not able to change those values afterwards. Can you help me with that

    gopalk2865
    Participating Frequently
    Apr 11, 2022 12:41 PM UTC

    Deselect the default value and then select new value. Configure your saveInto parameter to save newly selected value.