Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想限制要在路径下上传的文件类型。例如,/content/dam/test 应该只在它下面上传 Pdf 的文件。我尝试在此节点下添加属性 mimeTypes :
/libs/dam/gui/content/assets/jcr:content/actions/secondary/create/items/fileupload
但它对整个 dam 文件夹施加了限制。
任何帮助将不胜感激。
我能想到的2个选项: