Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Invalid
-
None
-
None
-
None
-
0.5
-
Tiger
-
Tiger Sprint 185
Description
When a channel info has a @JcrPath parameter like this, it's impossible to pick a document from /content/documents/administration/document1 because the picker always start showing from /content/documents/myhippoproject/ and it doesn't change the content when clicking on the parent folder (/content/documents/) in the breadcrumb either.
@FieldGroupList({ @FieldGroup( titleKey = "mychannel", value = { "mydefaultchannelpixelvars" } ) }) public interface MyChannelInfo extends ChannelInfo { @Parameter(name = "mydefaultchannelpixelvars") @JcrPath( pickerConfiguration = "cms-pickers/documents-only", pickerSelectableNodeTypes = { "mypixelvariablesdocument" }, pickerInitialPath = "/content/documents" ) String getMyPixelVariables(); }
Note that in real projects we keep many non-translated documents such as resource bundles in /content/documents/administration/ folder because those should be maintained differently from the translated channel root folders such as /content/documents/myhippoproject/ or /content/documents/myhippoproject-fr/.
If it's not possible to pick a document from a non-translated folder like /content/documents/administration/, it put a big limitation in projects.