IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Programatically assign value to property based on role

    Posted Tue July 12, 2011 01:12 PM

    Hi,

    My requirement is that I need to show and hide some elements in the UI depends on the Role/Group/User. For that I need to know 2 things,

    1. How can set property for the element in UI dynamically/programatically?
    2. How can get to know the Group/Role that the logged in user belongs to? (Kindly provide code sample for local as well as LDAP)

    Regards,
    Suresh.A


    #MWS-CAF-Task-Engine
    #webMethods-BPMS
    #webMethods


  • 2.  RE: Programatically assign value to property based on role



  • 3.  RE: Programatically assign value to property based on role

    Posted Thu July 14, 2011 03:27 PM

    Thanks for the information.

    Regards,
    Suresh.A


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine


  • 4.  RE: Programatically assign value to property based on role

    Posted Wed September 07, 2011 08:02 AM

    Hi mimel,

    This has been achieved.

    If I want to maintain(render) for more than one Role then how how can I proceed?

    Regards,
    Suresh.A


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine


  • 5.  RE: Programatically assign value to property based on role

    Posted Wed September 07, 2011 05:56 PM

    Roles can be aggregated on MWS. That would probably be easiest. Alternatively, you can modify the binding expression to use an OR operator. (Just google JSTL OR operator for more information)

    Regards,
    –mark


    #MWS-CAF-Task-Engine
    #webMethods-BPMS
    #webMethods