al-code-outline
al-code-outline copied to clipboard
API Pages : useTableFieldCaptionsInApiFields > locked = true
When setting useTableFieldCaptionsInApiFields to false, a locked = true is added to the API field captions, avoiding the fields from being translated.
When setting useTableFieldCaptionsInApiFields to true, the Field Caption from the Table are being added, but don't get the locked = true. We'd like to avoid any fields on API pages from being translated and would also prefer to add locked = true in case field captions from the table would be used.
Would that make sense adding locked = true as a default - irrespective the useTableFieldCaptionsInApiFields setting - or maybe support this through a new setting?
For us, API pages are more a way of exchanging data for reporting ..., rather then something used to build a UI on top, without the need for captions.
Giving this a second thought, we are considering of not adding any captions at all in our API pages.
I'd be in favor of having a setting instead that would prevent captions from being added to API objects via the 'Add Multiple Fields' or the 'New AL File Wizard'.
Required result:

I've added a new alOutline.createApiFieldsCaptions setting with default value set to true. If you want to disable captions functionality set it to false.