cancel
Showing results for 
Search instead for 
Did you mean: 

how can use widgetsForTitleBarActions to show help button on dashlet

janaka1984
Star Contributor
Star Contributor

Hi ,

To add help button on aikau dashlet, can use widgetsForTitleBarActions?

Regards

janaka

1 ACCEPTED ANSWER

ddraper
World-Class Innovator
World-Class Innovator

Yes, this issue was raised on GitHub, cloned to JIRA and fixed in the 1.0.78 release.

View answer in original post

6 REPLIES 6

ddraper
World-Class Innovator
World-Class Innovator

The short answer is yes... I think that there was a fix made in this area so you may need a more recent version of Aikau, I need to check the change history and will let you know.

ddraper
World-Class Innovator
World-Class Innovator

Yes, this issue was raised on GitHub, cloned to JIRA and fixed in the 1.0.78 release.

i have used new aikau-1.0.93 . now i can see label on title bar. but how can i use help button withing this?

e.g

widgetsForTitleBarActions: [

                 {

                    id: "HELLO_DASHLET_ACTIONS",

                    name: "alfresco/html/Label",

                   config: {

                        label: "Title bar actions "

                     }

                }

ddraper
World-Class Innovator
World-Class Innovator

I'd recommend using AlfMenuBarItem or AlfMenuBarPopup (containing AlfMenuItem widgets) as the dashlet uses a menu bar. This tutorial chapter will give you a good overview. As with all widgets in Aikau the menu items will publish payloads on topics when clicked - those publications will need to be subscribed to by other widgets or services to have any effect.

Hi dave,

when compare with surf dashlet , i can see smooth help button as following image.  But if i use AlfMenuBarItem or AlfMenuBarPopup with aikau dashlet as help button , i can not see like that out put.  how can i achieve?

ddraper
World-Class Innovator
World-Class Innovator

There isn't a solution in Aikau that matches that exactly, however what you can do is use the AlfTooltip widget and nest an Image or SVGImage within it to render the question mark. Alternatively you could easily create your own custom tooltip widget that acts as you require.

Use these links for examples on:

Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.