Content Management and Capture

Content Management and Capture

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

 View Only
  • 1.  Plugin Action Icon Not Appearing in Toolbar

    Posted Sun August 30, 2020 10:06 AM

    I built a plugin action and override the function getIconClass to provide a CSS icon class. Icon appears well on context menu and toolbar in an environment with ICN v3.0.7. However, it appears only in context menu in another environment with ICN v3.0.8.

    Any Advice



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 2.  RE: Plugin Action Icon Not Appearing in Toolbar
    Best Answer

    Posted Mon August 31, 2020 05:34 AM

    Hi,

    Have you see any errors in your browser log when using browser debug tool?

    Thanks,

    Jason



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 3.  RE: Plugin Action Icon Not Appearing in Toolbar
    Best Answer

    Posted Mon August 31, 2020 06:33 AM

    Hi Jason,

    There is no errors in browser console, however I noticed that a class called dijitNoIcon is added to the HTML element instead of the custom class returned by getIconClass. When replaced with the custom icon on client side, it shows the icon.



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 4.  RE: Plugin Action Icon Not Appearing in Toolbar
    Best Answer

    Posted Mon August 31, 2020 09:04 AM

    Hi,

    We don't have any change on this part between v3.0.7 and v3.0.8.

    I suggest you to use the browser debug tool to remove the class 'dijitNoIcon' and see if the icon can be displayed. And check whether your CSS class locates at the target folder under your v3.0.8 environment.

    Thanks,

    Jason



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 5.  RE: Plugin Action Icon Not Appearing in Toolbar
    Best Answer

    Posted Wed September 02, 2020 06:44 AM

    Thanks Jason.

    I've already tried to remove the class 'dijitNoIcon' and add my custom class manually and it works.

    The issue that I don't understand is why navigator doesn't apply the icon to the action and from where this dijitNoIcon class came to the picture.

    Is there any desktop or theme settings that can cause that?



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration


  • 6.  RE: Plugin Action Icon Not Appearing in Toolbar
    Best Answer

    Posted Thu September 03, 2020 11:07 AM

    Hi,

    I want to update that the issue has been resolved.

    The issue was in the custom feature used in the environment of v3.0.8 it was referring to toolbar class ecm.widget.listView.modules.Toolbar and to show the icons you need to use ecm.widget.listView.modules.Toolbar2.

    Thank for your support Jason.



    #IBMContentNavigator(ICN)
    #Support
    #SupportMigration