You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a feature flag for opening custom tools in Content Drive #37929
Add a feature flag that turns on opening custom tools in Content Drive. Custom tools are the menu items admins create from a content type, such as "Blogs", that today open a filtered Content Search.
This ticket only adds the flag and makes it readable from the frontend. Nothing reads it yet: the behavior it switches on is a separate ticket in the same epic. Off is the default, so the rollout stays opt-in. Teams turn it on when they want their tools to open in Content Drive.
FeatureFlagName: a new constant with a short Javadoc that names its frontend equivalent, like FEATURE_FLAG_CONTENT_EDITOR2_ENABLED does.
dotmarketing-config.properties: declared as FEATURE_FLAG_CONTENT_DRIVE_CUSTOM_TOOLS=false.
ConfigurationResource: added to WHITE_LIST and to the set of keys serialized as booleans. A key that's missing from WHITE_LIST is silently left out of /api/v1/configuration/config, so the frontend would never see it.
FeaturedFlags in libs/dotcms-models (shared-models.ts): the matching entry, so DotPropertiesService.getFeatureFlag can read it.
Acceptance Criteria
On a fresh install, GET /api/v1/configuration/config?keys=FEATURE_FLAG_CONTENT_DRIVE_CUSTOM_TOOLS returns the flag as the JSON boolean false.
After setting the flag to true in the System Table, the same request returns the JSON boolean true.
DotPropertiesService.getFeatureFlag(FeaturedFlags.<new entry>) emits false by default and true once the flag is on.
Clicking a custom tool still opens Content Search, whatever the flag's value.
Priority
Medium
Additional Context
Part of the custom tools in Content Drive epic. The ticket that uses the flag is blocked by this one.
Activity