4
Currently, the 'Company Badge' feature allows a customer to display a four character colored badge at the top-right of the business central UI and when clicked, displays the current company name in the tooltip. There is currently no event publisher to override the tooltip text. It always displays the company name.
There are scenarios where we would like more flexibility than this and display custom data in the tooltip.
A simple event publisher OnShowCompanyBadgeTooltip(var ToolTipText: text; var IsHandled: boolean) would satisfy this requirement! With it, extension developers can can render whatever is needed into the tooltip box.
Also allow the event subscriber to use CRLF placeholders in the tooltip text payload e.g.:
TooltipText := STRSUBSTNO('Company:\ %1\User:\ %2', COMPANYNAME, USERID);
Would render as:
----------------------------------
Company:
CRONUS International Ltd.
User:
MYDOMAIN\JOHNDOE
----------------------------------
There are scenarios where we would like more flexibility than this and display custom data in the tooltip.
A simple event publisher OnShowCompanyBadgeTooltip(var ToolTipText: text; var IsHandled: boolean) would satisfy this requirement! With it, extension developers can can render whatever is needed into the tooltip box.
Also allow the event subscriber to use CRLF placeholders in the tooltip text payload e.g.:
TooltipText := STRSUBSTNO('Company:\ %1\User:\ %2', COMPANYNAME, USERID);
Would render as:
----------------------------------
Company:
CRONUS International Ltd.
User:
MYDOMAIN\JOHNDOE
----------------------------------
STATUS DETAILS
Declined
Comments
[Event Request] issue submitted to github.
Link:
https://github.com/microsoft/ALAppExtensions/issues/8420
Category: General
Business Central Team (administrator)