AL icon indicating copy to clipboard operation
AL copied to clipboard

Custom API page — Insertable/Updatable OData capability annotations remain false in $metadata despite InsertAllowed = true / ModifyAllowed = true on the page, reproducible across two independent sandbox environments

Open robertpps opened this issue 4 months ago • 3 comments

robertpps avatar Jul 17 '26 13:07 robertpps

@robertpps I think the .AL file is missing? (also no compile log that you mention)

Current best guess is that you have both an action and entity with the name 'ping' which ends up with the wrong mapping. Can you try renaming your action?

jehelles avatar Aug 21 '26 08:08 jehelles

Unfortunately cannot reproduce when the artifacts are not included. My best guess is that the page has Editable = false and/or it's an issue due to reusing the name "Ping" as both an action and an entity.

jehelles avatar Sep 07 '26 07:09 jehelles

Your guess was correct. Thanks @jehelles !!

Editable = true fixed it

robertpps avatar Sep 07 '26 11:09 robertpps