AgilePoint webpart in SharePoint - Hide Reassign and Cancel buttons in blue bar

Answered

Comments

6 comments

  • Avatar
    Sampat Patil

    Hi Gwen,

    You can make use of Work Center Custom CSS (https://documentation.agilepoint.com/00/portal/cloudportalCustomCssSettings.html)

    Try below CSS to hide Reassign and Cancel button

    .toolbar .Reassign, 
    .toolbar .CancelProcess {
        display: none !important;
    }


    Note: This will hide option for every user.
    also you can hide rest of tool bar menu, for which you need to inspect the CSS class and make use of it.

    let us know if this works.

     

    1
    Comment actions Permalink
  • Avatar
    Gwen Wilson

    I can't do this in the work center, because like you said that affects everyone. I need it for this one SharePoint page. Is there a form of that code that I could put into a SharePoint content editor webpart that would accomplish this?

    Thanks!

    0
    Comment actions Permalink
  • Avatar
    Sampat Patil

    Hi Gwen,

    You can make use of external CSS from webpart properties and append those style.

    This worked in my environment.

     

    External CSS to use

    .toolbar .Reassign, .toolbar .CancelProcess { display: none !important; }

     

    AgilePoint Webpart Properties to refer

     

    2
    Comment actions Permalink
  • Avatar
    Gwen Wilson

    Thanks! This worked great. Can you do the same with Bulk Approval?

    I tried:

    .toolbar .Reassign, .toolbar .CancelProcess, .toolbar .BulkApproval { display: none !important; }

    but the Bulk Approval still displayed. Is ".BulkApproval" the right syntax for that button?

    1
    Comment actions Permalink
  • Avatar
    Sampat Patil

    Hi Gwen,

    As you mentioned BulkApproval is your Menu name, your style must be like this

    .toolbar .Reassign, .toolbar .CancelProcess, .toolbar .ToolbarMenu_BulkApproval { display: none !important; }

    You can inspect the class name from browser and make alteration if above CSS doesn't help.

    1
    Comment actions Permalink
  • Avatar
    Gwen Wilson

    Thanks! This worked.

    Gwen

    1
    Comment actions Permalink

Please sign in to leave a comment.