sap.m.OverflowToolbar: Support for sap.m.Link
I would appreciate having the possibility to also use a Link control as content of the OverflowToolbar.
Hello @mkueng1,
Is it applicable for your case to use sap.m.Button's "press" event and sap.m.URLHelper.redirect to achieve the desired behaviour?
Best Regards, Konstantin
Technically I could use a button with the press event but it doesn't fit as the Button has another highlight/UX and padding compared to a Link. My use case is an ObjectPage with a header section similar to your Sample Object Page Floorplan So I have Link elements like the "Created By" in the Header which opens a Popover with user details. In the sub section is the OverflowToolbar with again meta information like username which would open again the users details - meaning the same behavior as in the header and having Transparent Edit/Delete Buttons right to it
Hello @mkueng1,
To which spec are you referring? Currently the implementation of ObjectPageLayout and all it's API should be exactly according to UX specification.
BR, Jordan
Yes, the ObjectPageLayout is fine. My issue is the last sentence. In my case there is a "created by" username in the header which opens a popover - same as in the sdk sample. Below the ObjectPage Header is a sub section with formatted text and an OverflowToolbar into which I'd like to put an sap.m.Link showing for example an "updated by" username information which should also open a popover (same behavior and styling as above). As the section is only formatted text without a form this information fits best in the toolbar.
One additional question. Is it possible to create a minimal example of what you plan to achieve in jsbin or similar environment?
I've created a sample page: https://plnkr.co/edit/obtqPx6nWp3bt2xn?open=lib%2Fscript.js&preview If you reduce the width you'll see that the Link is not supported and doesn't show the expected overflow behavior as the other controls. My request is to also support the sap.m.Link as default - same as the other controls documented in https://sdk.openui5.org/api/sap.m.OverflowToolbar
Thanks a lot @mkueng1. I've created an internal incident 2380083080. The responsible team will get back to you in the ticket here.
Will be covered in backlog item BGSOFUIBALKAN-7387