AL
AL copied to clipboard
Page Extensions Trigger OnAfterGetCurrRecord not fired, when the C/Side Trigger is empty
I want to add a new fact box at the "Location List" by page extension:
pageextension 50100 "Location List Ext" extends "Location List"
{
layout
{
addfirst(FactBoxes)
{
part(MyPart; MyPart) { }
}
}
trigger OnAfterGetRecord();
begin
// This trigger is fired correct
end;
trigger OnAfterGetCurrRecord();
begin
// This trigger is never fired - becuase the C/Side trigger is empty
Message('Trigger fired on: %1', Code);
end;
}
Unfortunately the OnAfterGetCurrRecord is never fired.
The current fix is, to add a comment at the C/Side trigger e.g.:

...and the result - my page extension trigger is fired correct:

My Version(s):

I have the same issue. I use the NAV 2018 cu3, AL Language 0.12.17720
i have same issues related service. please check all list and card pages.
thank you.