jqueryを使用して要素をルックアップして手動で削除することで、clientlibを作成することで、この問題を解決できました。ここにclientlibはあります:
(function(document, $) {
$(document).ready(function(){
var $path = $("[data-type='path']");
var $filetype =$("[data-type='options']");
var $filesize = $("[data-type='filesize']");
if($path.length == 0){
return;
}
//defined in /libs/dam/gui/content/assets/jcr:content/body/content/aside/items/search
var ASSET_RAIL_SEARCH = "#aem-assets-rail-search";
var doSearch = function(){
//$path.remove();
if (window.location.href.indexOf("content/dam/geometrixx/portraits") > -1) {
$filesize.remove();
$filetype.remove();
} else {
// remove custm properties.
}
};
if($.cookie("endor.innerrail.current") == ASSET_RAIL_SEARCH){
doSearch();
}
$(document).on('click', '.js-endor-innerrail-toggle', function(e) {
doSearch();
});
});
})(document, Granite.$);
どのバージョンのAEMですか? – VAr
こんにちは@VAr、私はAEMを使用しています。6.1 –
検索フォームコンポーネント** '(/ libs/granite/ui/components/foundation/contsys)' **の現在の動作が束縛されていないため、ダムパス選択フィルタ(ファセットアイテム)を使用して残りのフィルタ(ファセットアイテム)をロードすると、すべてのフィルタ(ファセットアイテム)が個別にアセット表示をトリガします。 – VAr