How to preserve asset creation date when uploading to Assets Cloud Service? | Community
Skip to main content
Level 3
December 21, 2023
Solved

How to preserve asset creation date when uploading to Assets Cloud Service?

  • December 21, 2023
  • 1 reply
  • 4025 views

I'm starting to play with my Cloud Service sandbox, starting with Assets as a Cloud Service. I uploaded a few folders of local images in JPG format to Assets, and when I look at the details in Assets, I see the Creation and Modified dates are the date & time I uploaded to Assets, not the information from the files. When I open the local files in Preview on a Mac, I see the creation date in the EXIF info (Date Time Original, Date Time Digitized), in the IPTC info (Date Created, Time Created, Digital Date Created, Digital Time Created) and in the TIFF info (Date Time). All of this is metadata in the file, not filesystem information, so it should be visible to AEM on import. 

I expected the default importer to pick up this metadata by default. Am I missing something, or do I need to customize some profile or workflow to specify the metadata I want to import?

EDIT:

Hm, I see the metadata from the file in Assets on the Advanced tab; the info from the file is displayed as "File created date". I guess this makes sense - "Creation Date" is when the AEM Asset was created by uploading the image file, and the image file's creation date is a separate property. So on to the next question: to use the "search-first approach" in assets, how do I search on the "File created date"? In the Filters UI, the Created Date seems to refer to the asset creation date -- not very useful to me - and Custom Filters has a list of 6 properties, none of which are the File create date.

If I uploaded photos of last Christmas today, I want to be able to search for photos from December 2022, even if they only appeared in AEM in 2023. This seems like a pretty common use case. How to get there?

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by DPrakashRaj

You can customize the search filter facets as per your requirement and map the fields in search facets to the metadata property as needed.

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/assets/admin/search-facets.html?lang=en#:~:text=The%20search%20facets%20that%20appear,Fulltext%20predicate%20to%20the%20form.

 

1 reply

DPrakashRaj
Community Advisor
DPrakashRajCommunity AdvisorAccepted solution
Community Advisor
December 22, 2023

You can customize the search filter facets as per your requirement and map the fields in search facets to the metadata property as needed.

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/assets/admin/search-facets.html?lang=en#:~:text=The%20search%20facets%20that%20appear,Fulltext%20predicate%20to%20the%20form.

 

valcohenAuthor
Level 3
December 22, 2023

Ack, that doesn't appear to work in the new My Workspace UI 😞

I'll work with my account manager to get some help with this.

valcohenAuthor
Level 3
December 22, 2023

You might need admin permission to customize the search facets


I don't think so -- it let me into the search forms editor, and let me customize the Assets Admin Search Rail with no complaints. The customization just doesn't show up in the new Assets UI. And when I switch back to the old UI, I don't get a search rail at all.

 

Thanks for trying though. Happy holidays!