Supplier Management

Get Involved. Join the Conversation.

Topic

    sameer ashturkar
    How to hide/show DFF fields based on roles in fusion.
    Topic posted July 24, 2019 by sameer ashturkarBronze Medal: 1,250+ Points, last edited July 24, 2019, tagged Fusion, How-To 
    87 Views, 6 Comments
    Title:
    How to hide/show DFF fields based on roles in fusion.
    Summary:
    How to hide/show DFF fields based on roles in fusion.
    Content:

    Hello SME's

    We have few DFF fields on supplier page and want to hide/show based on roles. 

     

     

    Thanks in advance. 

    Sameer Ashturkar

    Comment

     

    • Niamath Jeddy

      Sameer,

      One option is to perform page composer based customization.

      For the DFF segments, in the show component property , below expression can be used to check if logged in user has specififed role or not.

      #{securityContext.userInRole[<ROOLE_CODE_IN_SINGLE_QUOTES>]}

      How to form the EL Expression in the Structure > Visible property (Doc ID 2181556.1)

      Regards,

      Niamath

      • sameer ashturkar

        Hi Niamath,

        Fantastic !! Thanks for extending your help here. 
        Will you please tell me how to use EL expression based on condition(like If and else) in structure. 

        and is there any reference from where I can get the available EL expression in fusion . I mean below syntax is more about security console and it get vary depends on requirements 

        #{securityContext.userInRole[<ROOLE_CODE_IN_SINGLE_QUOTES>]}


        Thanks.
        Sameer Ashturkar

        • Niamath Jeddy

          Sameer,

          I am not an expert on groovy expressions.

          You can check if below documents are of help:

          https://docs.oracle.com/en/cloud/saas/applications-common/19c/cgsac/groovy-scripting-reference.pdf
          https://docs.oracle.com/en/cloud/saas/applications-common/19c/oaext/configuring-and-extending-applications.pdf

          Regards,

          Niamath

    • Nitin Katare

      Here is a link to a whitepaper for page composer best practices

      https://cloudcustomerconnect.oracle.com/files/b47da4c561/PageComposerBestPractices.pdf

    • Suman Guha

      Moved from Purchasing forum.