7. August 2024 13:51
namespace System.Visualization;
page 50366 HeadlineMostPopularItem
{
Caption = 'Headline';
PageType = HeadlinePart;
RefreshOnActivate = true;
layout
{
area(content)
{
group(MostPopularItem)
{
Visible = MostPopularItemVisible;
ShowCaption = false;
Editable = false;
field(MostPopularItemText; MostPopularItemText)
{
ApplicationArea = Basic, Suite;
ShowCaption = false;
trigger OnDrillDown()
var
EssentialBusHeadlineMgt: Codeunit "Essential Bus. Headline Mgt.";
begin
EssentialBusHeadlineMgt.OnDrillDownMostPopularItem();
end;
}
}
}
}
trigger OnOpenPage()
begin
OnSetVisibility(MostPopularItemVisible, MostPopularItemText)
end;
[IntegrationEvent(false, false)]
local procedure OnSetVisibility(var MostPopularItemVisible: Boolean; var MostPopularItemText: Text[250])
begin
end;
var
MostPopularItemVisible: Boolean;
MostPopularItemText: Text[250];
}