在選取頁面縮圖影像中啟用搜尋列
瞭解如何在影像選取對話方塊中啟用搜尋列。
說明 description
環境
AEM as a Cloud Service
問題/症狀
您可以依照下列步驟新增頁面縮圖:
移至 屬性。 按一下 縮圖 和 選取影像。
但目前,預設無法在影像選取範圍對話方塊[ 1]中使用搜尋列。
解決方法 resolution
-
建立pagethumbnail.js的覆蓋。
Source: /libs/cq/gui/components/common/wcm/clientlibs/wcm/js/pagethumbnail.jsDestination: /apps/cq/gui/components/common/wcm/clientlibs/wcm/js/pagethumbnail.js
-
將「&nodeTypes=dam%3ASset」新增至對話方塊的URL。
- 早於:
var src = "/mnt/overlay/granite/ui/content/coral/foundation/form/pathfield/picker.html" + "?_charset_=utf-8&path=%2fcontent%2fdam&root=%2fcontent%2fdam&filter=hierarchyNotFile&selectionCount=single"; After: var src = "/mnt/overlay/granite/ui/content/coral/foundation/form/pathfield/picker.html" + "?_charset_=utf-8&path=%2fcontent%2fdam&root=%2fcontent%2fdam&filter=hierarchyNotFile&selectionCount=single&nodeTypes=dam%3AAsset";
- 早於:
-
透過Cloud Manager部署變更,並檢查「搜尋」列是否顯示。
相關讀取
[ 1] AEM as a Cloud Service使用手冊中的一般Lucene索引移除>路徑欄位選擇器搜尋。
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f