This content has been marked as final. Show 3 replies
1 person found this helpful
I want to create a custom metadata field of type Date. I want to make it mandatory and want to set its default value as system date.See http://docs.oracle.com/cd/E23943_01/doc.1111/e10726/c08_config_ref.htm#CSIDO710
I have already created field of type Date. What expression I should write to make system date as default value?
Because its a mandatory field, what would happen to existing content. Will there metadata get updated?No, it will not be updated - profiles are active only for new or updated items (in fact, they work on front-end).
Edit the metadata from Information fields and set Default Value <$dateCurrent()$>.
if you want to update the metadata for exisitng documents, you can use archiver to export all the items and then do an import. But, before doing import configure Import maps
1) to update existing items to have same date, use Value maps (under Import maps tab)
2) use Field Maps to update with check-in date,
Thank you both for replying and <$dateCurrent$> works for me.
Have not tried importing but seems a feasible solution.