활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
I have 2 questions:-
1. Can a path browser have 2 or more Rootpaths?
2. Can we use a Regex Expression to exclude a node in current rootpath
Scenario :-
I want
/content/abc
/content/dam/abc
as to appear in my rootpath navigator
But want to exclude or not show i:- /content/dam/abc/xyz
Thanks,
Hanshika
조회 수
답글
좋아요 수
I doubt that can work OOB unless you plan to customize the implementation.
조회 수
답글
좋아요 수
OOTB - this is not possible.
조회 수
답글
좋아요 수
Do you know any blog that i can follow to achieve this especially-"But want to exclude or not show i:- /content/dam/abc/xyz"?
조회 수
답글
좋아요 수
It's not possible to achieve without customization because "/libs/granite/ui/components/coral/foundation/form/pathfield" and "/libs/granite/ui/components/coral/foundation/form/pathbrowser" are granite:FinalArea
The easiest way is to use validations and force the user to select from options that you want and forcefully delete other selected options. The option to be excluded would still appear as a selection item and can't be hidden.
PathField — Granite UI 1.0 documentation
validationstring
foundation.jcr.name
. See validation in Granite UI.forceSelectionboolean
Indicates if the user must only select from the list of given options. If it is not forced, the user can enter arbitrary value.
filterstring
For Custom code, refer ---
You'd have to write similar code to exclude specific options at runtime
조회 수
답글
좋아요 수
Do you know any blog that i can follow to achieve this especially-"But want to exclude or not show i:- /content/dam/abc/xyz"?
조회 수
답글
좋아요 수
조회 수
Likes
답글
조회 수
Likes
답글