Niveau 1
Niveau 2
Se connecter à la communauté
Connectez-vous pour voir tous les badges
Hi,
I looking for a solution to remove the timestamp from the metadata schema for licence expiry date field. Currently it is showing like below. we want to see only the date not the timestamp and all. Please let me know if anyone knows the solution.
Thanks in advance!
Regards,
Bhavani bharanidharan
Les sujets facilitent la catégorisation du contenu de la Communauté et vous aident à retrouver le contenu le plus pertinent.
Vues
Réponses
Nombre de J’aime
In order to edit/add properties, please navigate to metadata schema editor in AEM and make necessary changes
This is OOTB metadata scheme editor, please check below article for detailed approach to follow
Hope this helps
Thanks
Hi @PRATHYUSHA_VP ,
I have the license expiry date already added in the metadata schema when adding a license expiry date in the asset, we don't want to see the timestamp.
Thanks,
Bhavani bharanidharan
Vues
Réponses
Nombre de J’aime
Hi @PRATHYUSHA_VP ,
We have content hub enable for our aem assets, where we can able to use the filter to search the assets using the license expiry field, there we are actually seeing the date with some timestamp(min, hours,..). So as checking in AEM repository browser the value is getting stored as prism:expirationDate -> 2029-07-31T13:33:00+10:00 like this. So in content hub also we are getting the value with timestamp(as mentioned in the screenshot). We don't want to see the timestamp in content hub, as the values are getting pulled from the aem, looking for a way to trim those timestamp value while storing the value in the aem node.
Hope this gives some more clearance to my previous question!
Thanks again!
Vues
Réponses
Nombre de J’aime
Hi,
Yes indeed i get it what you're looking for, i have gone through the default metadata schema, it uses default OOTB datepicker which contains timestamp by default.
Whereas in content fragment editor, we get to choose to display date / time.
In asset metadata schema editor, datepicker contains timestamp
For your scenario, customization is needed
Thanks
Vues
Likes
Réponses
Vues
Likes
Réponses