Clarity

 View Only
  • 1.  Remove Export to Excel from Drop down List in CA PPM v15.6.1

    Posted Apr 06, 2020 09:54 PM
    Hi,

    Our requirement is to remove Export to Excel Icon & drop-down list from the application.

    I was able to remove icon by adding below text in clarity.min.css file:

    #export_to_xls

    {visibility:hidden;}

    But not able to hide export to excel option from drop-down list after trying multiple options.

    I also went through some of below mentioned threads as well but of no help.

    Remove Export to Excel & Power Point      &    Remove Export to Excel and Power Point Icons

    If anyone has successfully removed export to excel option from drop-down list then please help me to get this done.

    Thanks,
    Divyanshu Dhyani



  • 2.  RE: Remove Export to Excel from Drop down List in CA PPM v15.6.1

    Broadcom Employee
    Posted Apr 08, 2020 07:53 AM
    Hi Divyanshu

    Try looking at file Clarity_home\META-INF\union\vxsl\foundation.xml.

    Note: These all are unsupported change and can cause your upgrade to break. 


    ------------------------------
    Thanks & Regards
    Suman Pramanik
    Sr. Principal Support Engineer | Customer Success & Support, Enterprise Software Division
    Broadcom
    ------------------------------



  • 3.  RE: Remove Export to Excel from Drop down List in CA PPM v15.6.1

    Posted Apr 08, 2020 08:20 AM
    Hi Suman,

    Thanks for the response!!

    I tried making changes in foundation.xml file earlier as suggested in below threads but of no help.

    Remove Export to Excel & Power Point      &    Remove Export to Excel and Power Point Icons

    Can you please help me with specifying the exact change that needs to be made to get this done.

    Regards,
    Divyanshu Dhyani

    ------------------------------
    Project Lead
    Optum Global Solutions (UnitedHealth Group)
    ------------------------------



  • 4.  RE: Remove Export to Excel from Drop down List in CA PPM v15.6.1
    Best Answer

    Posted Apr 09, 2020 03:53 PM
    Did you try the CSS selector approach edited into the UI theme that was suggested at the end of the second thread you linked?

    E.g. it suggested:
     

    a[href*='prodpack.dashboardExport&format=pptx'] { display: none; }

    a[href*='prodpack.dashboardExport&format=xlsx'] { display: none; }


    For the menus "Export to Powerpoint" and "Export to Excel" respectively.

    If they don't work, your browser vendor/version may not support such selectors, or you may be trying to suppress another menu whose URL (if you were to inspect it when hovering over the menu) contains a different URL "pattern" to detect.