자산 선택기 asset-selector
에셋 선택기를 사용하여 Adobe Experience Manager Assets에서 에셋을 검색 및 필터링할 수 있습니다. 에셋 선택기를 사용하여 선택한 에셋의 메타데이터를 가져올 수도 있습니다. 자산 선택기 인터페이스를 사용자 지정하려면 지원되는 요청 매개 변수와 함께 자산 선택기 인터페이스를 시작할 수 있습니다. 이러한 매개 변수는 특정 시나리오에 대한 에셋 선택기의 컨텍스트를 설정합니다.
현재 선택 전체에서 그대로 유지되는 자산 선택기에 대한 컨텍스트 정보로 요청 매개 변수 assettype
(이미지/비디오/텍스트) 및 선택 mode
(단일/다중)을 전달할 수 있습니다.
에셋 선택기는 HTML5 Window.postMessage 메시지를 사용하여 선택한 에셋에 대한 데이터를 받는 사람에게 보냅니다.
에셋 선택기는 Granite의 기초 선택기 어휘를 기반으로 합니다. 기본적으로 에셋 선택기는 검색 모드에서 작동합니다. 그러나 Omnisearch 경험을 사용하여 필터를 적용하여 특정 에셋에 대한 검색을 구체화할 수 있습니다.
CQ 컨테이너의 일부인지 여부에 관계없이 모든 웹 페이지를 자산 선택기(https://[AEM_server]:[port]/aem/assetpicker.html
)와 통합할 수 있습니다.
컨텍스트 매개 변수 contextual-parameters
URL에 다음 요청 매개 변수를 전달하여 특정 컨텍스트에서 자산 선택기를 실행할 수 있습니다.
http://localhost:4502/aem/
assetpicker.html/<folder_path>
/content/dam/we-retail/en/activities
폴더가 선택된 상태로) URL의 형식이 http://localhost:4502/aem/assetpicker.html
/content/dam/we-retail/en/activities?assettype=images
이어야 합니다.http://localhost:4502/aem/assetpicker.html
?mode=multiple
http://localhost:4502/aem/assetpicker.html
?mode=single
http://localhost:4502/aem/assetpicker.html
?dialog=true
<folder_path>
http://localhost:4502/aem/
assetpicker.html?assettype=images
&root=/content/dam/we-retail/en/activities
http://localhost:4502/aem/assetpicker.html?viewmode=search&assettype=images
http://localhost:4502/aem/assetpicker.html?viewmode=search&assettype=documents
http://localhost:4502/aem/assetpicker.html?viewmode=search&assettype=multimedia
http://localhost:4502/aem/assetpicker.html?viewmode=search&assettype=archives
/jcr:content/metadata/dc:format
)(와일드카드도 지원됨)http://localhost:4502/aem/assetpicker.html?viewmode=search&mimetype=image/png
http://localhost:4502/aem/assetpicker.html?viewmode=search&?mimetype=*png
http://localhost:4502/aem/assetpicker.html?viewmode=search&mimetype=*presentation
http://localhost:4502/aem/assetpicker?viewmode=search&mimetype=*presentation&mimetype=*png
자산 선택기 사용 using-the-asset-selector
-
자산 선택기 인터페이스에 액세스하려면
https://[AEM_server]:[port]/aem/assetpicker
(으)로 이동하십시오. -
원하는 폴더로 이동하고 하나 이상의 에셋을 선택합니다.
또는 OmniSearch 상자에서 원하는 에셋을 검색한 다음 선택할 수 있습니다.
OmniSearch 상자를 사용하여 자산을 검색하는 경우 필터 창에서 다양한 필터를 선택하여 검색을 구체화할 수 있습니다.
-
도구 모음에서 선택 을 클릭합니다.