I have defined a custom action in my page extension.
Is is possible to change its caption to 'Enable' or 'Disable' based on a condition in the code?
I'm using business central online.
Not possible to change captions dynamically. you want to change caption of the action or you want to use the action to change caption of a field?
I want to change a caption of the action.
you might want to look at what Erik P. Ernsthas suggested