AL icon indicating copy to clipboard operation
AL copied to clipboard

API Page SubPageLink by FlowFilter field

Open aleksejs-pavlovs-pata opened this issue 7 months ago • 0 comments

It seems to be this way to link subpage isn't not working (at least for API page)

Code part(itemAvailabilityPart; "Item Availability API") { SubPageLink = Code = field("Location Filter"); }

gives me a blank list of locations (there ARE locations within then filter). Also code like "CurrPage.itemAvailabilityPart.Page.SetupSomething(SomeRec, SomeValue);" doesn't work in API page either. Subpage just ignores everything.

In same time 'basic' (using only normal table fields) SubPageLink works.

Is the any documentation regarding AL coding issues/limitations for API pages?

Can I implement API page with 'sub-page' based purely on related calculated data such as "item/availability_by_location" relation?

aleksejs-pavlovs-pata avatar Jun 06 '25 12:06 aleksejs-pavlovs-pata