Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File field: field variable to specify a different file content type #30876

Open
hmoreras opened this issue Dec 6, 2024 · 0 comments
Open

File field: field variable to specify a different file content type #30876

hmoreras opened this issue Dec 6, 2024 · 0 comments

Comments

@hmoreras
Copy link
Contributor

hmoreras commented Dec 6, 2024

Parent Issue

#29691

User Story

As a content architect, I want to specify a default content type for all new files via a field variable, so that I can ensure consistency in file handling and streamline content creation.

Acceptance Criteria

  • A field variable named defaultContentType should be introduced.
  • The defaultContentType variable should allow the content architect to specify a default file content type.
  • If the defaultContentType variable is set, all new files created should default to the specified content.
  • If the defaultContentType variable is not set, the system should fall back to its current default behavior, dotAsset
    The implementation should be compatible with the new File field functionality.

dotCMS Version

master

Proposed Objective

To enhance the flexibility and usability of the new File field, a defaultContentType variable must be added. This variable will empower content architects to set a consistent default content type for all new files, ensuring predictable behavior and reducing manual effort in specifying content types.

Proposed Priority

to_define

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

to_define

Assumptions & Initiation Needs

to_define

Quality Assurance Notes & Workarounds

  • Verify that the defaultContentType variable correctly overrides the default behavior for new files when set.
  • Validate that the system reverts to the current default content type when the variable is not set.
  • Ensure compatibility with all existing functionalities related to file management in dotCMS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Next 1-3 Sprints
Development

No branches or pull requests

1 participant