I want to make a XMLPort to my page, my page hasn't been done by extends yet. Here is my page:
page 50102 /Coupon List/
{
PageType = List;
CardPageId = /Coupon Page/;
ApplicationArea = All;
UsageCategory = Administration;
SourceTable = Coupon;
layout
{
area(Content)
{
repeater(Group)
{
field(coupon_code; Rec.coupon_code)
{
ApplicationArea = All;
}
field(/Title/; Rec./Coupon Title/)
{
ApplicationArea = All;
}
field(/Type/; Rec.coupon_type)
{
ApplicationArea = All;
}
field(/Start Date/; Rec.coupon_StartDate)
{
ApplicationArea = All;
}
field(/End Date/; Rec.coupon_EndDate)
{
ApplicationArea = All;
}
field(/TimeZone/; Rec.coupon_timeZone)
{
ApplicationArea = All;
}
}
}
}
actions
{
area(Processing)
{
action(ActionName)
{
ApplicationArea = All;
trigger OnAction()
begin
end;
}
}
area(Navigation)
{
action(/Redeem Record/)
{
ApplicationArea = All;
AboutText = 'The Coupon Redeem History List';
Caption = 'Redeem Record';
RunObject = page /RedeemCoupon List/;
}
}
}
var
myInt: Integer;
}
And then I do the extends:
pageextension 50111 XMLExportCoupon extends /Coupon List/
{
actions
{
// addafter(History)
// {
// action(ExportItem)
// {
// Caption = 'Export';
// Promoted = true;
// }
// }
}
var
myInt: Integer;
}
I faced the error by
The extension object 'XMLExportCoupon' cannot be declared. Another extension for target 'Coupon List' or the target itself is already declared in this module.ALAL0334
Is there anyone can help me?