내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Bullk edit crawlability of pdf's in AEM

Avatar

Level 1

Hi

 

Is there a way to bulk edit a few hundreds of pdfs - we want search engine bots not to crawl them but still searchable in internal search. But instead of doing it manually, is there a way we can bulk edit them in cUrl or any other easy way?

 

Thanks

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

You can use Assets API if you want to update metadata using server scripts. Sample Command to update title.

Request: PUT /api/assets/myfolder/myAsset.png -H"Content-Type: application/json" -d '{"class":"asset", "properties":{"jcr:title":"My Asset"}}'

Link : https://experienceleague.adobe.com/docs/experience-manager-65/assets/extending/mac-api-assets.html?l...

You can also use CSV file to do update of Asset metadata using Metadata Import in AEM.
https://experienceleague.adobe.com/docs/experience-manager-65/assets/using/metadata.html?lang=en#imp...

Please disable launchers/processing profiles while running scripts to avoid changing of lastModified property of asset and overload on AEM.

 

원본 게시물의 솔루션 보기

2 답변 개

Avatar

정확한 답변 작성자:
Community Advisor

You can use Assets API if you want to update metadata using server scripts. Sample Command to update title.

Request: PUT /api/assets/myfolder/myAsset.png -H"Content-Type: application/json" -d '{"class":"asset", "properties":{"jcr:title":"My Asset"}}'

Link : https://experienceleague.adobe.com/docs/experience-manager-65/assets/extending/mac-api-assets.html?l...

You can also use CSV file to do update of Asset metadata using Metadata Import in AEM.
https://experienceleague.adobe.com/docs/experience-manager-65/assets/using/metadata.html?lang=en#imp...

Please disable launchers/processing profiles while running scripts to avoid changing of lastModified property of asset and overload on AEM.

 

Avatar

Community Advisor and Adobe Champion

You can do bulk updates of Asset metadata using a CSV file. Refer https://experienceleague.adobe.com/docs/experience-manager-65/assets/using/metadata.html?lang=en#imp...

 

To prevent your PDF file from being listed in search results, use the HTTP X-Robots-Tag response header, e.g.:

X-Robots-Tag: noindex

OR 

rel="nofollow" on links to those PDFs

<a href="mypdf.pdf" rel="nofollow">Download PDF</a>

Refer https://developers.google.com/search/docs/advanced/robots/robots_meta_tag