Skip to main content
rakhib0001
September 7, 2021
Question

How i can enable the field of a particular Question Based on the UserLogged In appian. please help

  • September 7, 2021
  • 3 replies
  • 0 views

How i can enable the field of a particular Question   Based on the UserLogged In  appian. please help 

    3 replies

    stefanhelzle0001
    Brainy
    September 7, 2021

    Please elaborate. What questions? You can check whether a user is in a group using 

    docs.appian.com/.../fnc_people_a_isusermemberofgroup.html

    csteward
    September 7, 2021

    Additionally, this will get you the account of the logged in user:

    fn!loggedInUser()

    gayathris111098
    September 8, 2021

    a!textField(
    label:"show only user is admin",
    value:ri!valueTosave,
    saveInto: ri!valueTosave,
    /* you can add any condition here to show or hide it*/
    showWhen: a!isUserMemberOfGroup(username: loggedInUser(),groups: {
    "constant og group 1", "constant og group 2"
    })
    )