Showing posts with label new button. Show all posts
Showing posts with label new button. Show all posts

Thursday, October 18, 2018

IBM Maximo : Simple way of Hiding New row button based on security groups

----------------------------------------------------------------------------------------------------------------------
 All the messages below are just forwarded messages if some one feels hurt about it please add your comments we will remove the post.Host/author is not responsible for these posts.
----------------------------------------------------------------------------------------------------------------------


Case : Only users in SUPERVISIOR security group should be able to add new meters to locations.

  • Navigate to Conditional expression manager and create a new condition like below
    • Condition : nonsupervisior
    • Type : Expression
    • Expression : (:&USERNAME& not in (select userid from groupuser where groupname='SUPERVISIOR'))
    • Always Evaluate : Y

  • Navigate to Application designer , search for Location application and create a new sigoption
    • Option : locationmeter
    • Desc : Location Meter sigoption
    • Visible : Y
    • Click ok.
  • Now click on the ‘new row’ button in Meter tab and go to its properties
    • In advanced tab , add Signature Option as ‘locationmeter’
    • Click on ‘Configure Conditional Properties’  and add the following
      • Security group : EVERYONE
      • Condition : nonsupervisior
      • Condition is False à mxevent : addrow
      • Condition is true à  property : display
        Value : false
  • Now navigate to security groups and search for ‘SUPERVISIOR’ security group à application : location and grant access to
    • Option : locationmeter
    • Desc : Location Meter sigoption
    • Save .

Note : Here we have assumed that every user in Maximo belongs to ‘EVERYONE’ security group.
Similar can be performed for delete button also.