에셋의 로컬 참조를 JSON 형식으로 내보내는 방법
이 문서에서는 에셋의 로컬 참조를 Adobe Experience Manager에서 JSON 형식으로 내보내는 방법에 대해 알아봅니다.
설명 description
환경
-
Adobe Experience Manager as a Cloud Service
-
Adobe Experience Manager 6.5
문제/증상
속성의 참조 탭에서 에셋의 로컬 참조를 확인할 수 있습니다. (Assets 콘솔에서 에셋을 선택하고, 도구 모음에서 속성 을 선택한 다음 참조 탭을 선택합니다.) AEM 외부의 정보를 사용하는 경우 JSON 형식으로 내보낼 수 있습니다.
해결 방법 resolution
다음 URL*[ 1]*에 액세스하면 JSON 형식으로 로컬 참조 가 반환됩니다. 응답에 있는 path 값은 대상 에셋을 참조하는 콘텐츠 경로입니다.
대상 자산에 대한 [1] http://localhost:4502/bin/wcm/references.json?path=< 경로>
사용 예:
http://localhost:4502/bin/wcm/references.json?path=/content/dam/wknd/en/activities/hiking/equipment_6.jpg
샘플 JSON 응답:
{ pages: [ { srcPath: "/content/dam/wknd/en/activities/hiking/equipment_6.jpg", srcTitle: "equipment_6.jpg", path: "/content/wknd/language-masters/en/adventures/riverside-camping-australia", title: "Riverside Camping", references: [ "/content/wknd/language-masters/en/adventures/riverside-camping-australia/jcr:content/root/container/container/tabs/item_1570890147607/par0/image/fileReference" ] , published: false, isPage: "true" }, { srcPath: "/content/dam/wknd/en/activities/hiking/equipment_6.jpg", srcTitle: "equipment_6.jpg", path: "/content/wknd/ca/en/adventures/riverside-camping-australia", title: "Riverside Camping", references: [ "/content/wknd/ca/en/adventures/riverside-camping-australia/jcr:content/root/container/container/tabs/item_1570890147607/par0/image/fileReference" ] , published: false, isPage: "true" }, { srcPath: "/content/dam/wknd/en/activities/hiking/equipment_6.jpg", srcTitle: "equipment_6.jpg", path: "/content/wknd/us/en/adventures/riverside-camping-australia", title: "Riverside Camping", references: [ "/content/wknd/us/en/adventures/riverside-camping-australia/jcr:content/root/container/container/tabs/item_1570890147607/par0/image/fileReference" ] , published: false, isPage: "true" } ] }
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f