Content Management and Capture

Content Management and Capture

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  dynamic global Action name

    Posted 09/10/20 01:03 PM

    Dear support,

    i created new custom global Action and attach it to the global toolbar.

    the customer ask from me to change the Action name on the global toolbar.

    if the user AD list contain AD group with SID "X", set the action name as "Action X",

    if the user AD list contain AD group with SID "Y", set the action Name as "Action Y".

    i know that the action name is control by the Action.java file on the getName() function but in that scope i dont have callback,repositoryId that relevant to get the user groupSet from filenet, com.filenet.api.security.User + GropSet.

    Any idea?



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 2.  RE: dynamic global Action name
    Best Answer

    Posted 09/11/20 02:49 AM

    There is no option to set a dynamic name in action by retrieving data from CPE/LDAP.

    An option for this . You can create both Action X and Action Y. Then implement the isVisible() in the action JS code. You can get current login user name from "ecm.model.desktop.userId" varaible. Not sure if your SID is in the username.



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 3.  RE: dynamic global Action name
    Best Answer

    Posted 09/13/20 09:04 AM

    do you know how to get current user his AD group list by the client side?



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration