data type save

Certified Associate Developer

I am trying to understand when the appian save data type should be used, reading the documentation I do not see a clear example of use. Can someone tell me if they use it and when? This is the associated documentation

https://docs.appian.com/suite/help/24.4/using_interfaces_in_appian.html#creating-reusable-custom-components

docs.appian.com/.../Appian_Data_Types.html

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Associate Developer

    If you want to save value after clicking on button or else choosing option in dropdown will use a!save() function.
    simply it saves the value in target.

    if you want to save same value whatever user provided/selected you can use a!save(local!test,save!value)
    or else you want to save different value after clicking on the submit button.

    saveInto:{ri!button,

    a!save(local!test,null)

    }
    it means local variable test updated with null value user clicks on the submit button.

Reply
  • 0
    Certified Associate Developer

    If you want to save value after clicking on button or else choosing option in dropdown will use a!save() function.
    simply it saves the value in target.

    if you want to save same value whatever user provided/selected you can use a!save(local!test,save!value)
    or else you want to save different value after clicking on the submit button.

    saveInto:{ri!button,

    a!save(local!test,null)

    }
    it means local variable test updated with null value user clicks on the submit button.

Children