AL
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
@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?
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.
Your guess was correct. Thanks @jehelles !!
Editable = true fixed it