Skip to main content

User can navigate to previous step and see content

Comments

4 comments

  • Jeff Sanchez

    I found this in the help. I'll give this a try.  But what is in the var 'roles'? It seems like 'x' is a array, are the values a simple list or are they pairs of values (a=A)?

    var x;    
    var roles = _data.getParameter ("subject.roles");
        if (roles) {
            eval ('x=' + roles);
            Roles.options = x;
    0
  • Prajakta

    Hi Jeff,

    1. You can disable the Navigation toolbar in that flow if you do not need it. Please see this documentation about Navigation property in flows.
    2. You can use business rules to get current user's roles. Please see this example rule which shows how to get all roles for current user in an array.
    3. Unfortunately, I can't think of any way to hide the section label and outline.

    Hope that helps.

    Thanks,

    Prajakta

    0
  • Prajakta

    Variable 'roles' in that example is storing the JSON array results which the _data.getParameter ("subject.roles") method returns. And variable 'x' contains the results from that JSON array converted to a JavaScript array.

    Thanks,

    Prajakta

    0
  • Jeff Sanchez

    Great, I can work with that. Thanks

    0

Please sign in to leave a comment.