We have a requirement to see who uploaded the asset's most recent asset version on author and when ? Is there any way to show those details to business users on publish site ?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
One way to implement this to use custom metadata properties to hold this information. This can be updated as part of the publish workflow for asset or using ResourceChangeListeners.
Thanks
Narendra
Hi @digarg,
I believe OOTB AEM versioning and timeline functionality is what you are looking for.
Below you can find link to short video that explains, how and when version is created, and what information for each version is exposed to the user.
Here is also sample screenshot the is presenting what you can expect
Thanks @lukasz-m for response. Sorry if I missed the details - Not really, I need this info on the publisher (ASC reference site) on asset detail page to show to end users.
Hi @digarg,
Sorry I did not catch the information about publish. Anyway below you can find quite detailed description how you can achieve your goal.
Assumptions
Solution
I have divided proposed solution into 2 sections, first should allow to achieve main goal, second is optional however will increase end user experience.
Mandatory part
Below steps should be repeated on each asset details page (OOTB there are dedicated pages for images, video, document, presentation - the main difference is set of metadata that could be characteristic for specific asset type) which should contains information about author and date.
One last comment, why some changes have been done via crx/de. In general not all properties are available from Property Name drop-down. Nevertheless setting it from crx/de will do the job.
Optional
As you can see user name taken from ./jcr:content/jcr:lastModifiedBy is presented as user id. For better experience you can create new Computed property that will be able to display proper first and last name base on user ID - or any other presentation for that will be needed. If you would like to show more details about authors you have to make sure that those data has been published. Custom Computed property requires some development. Here are some links:
jcr:lastModified and jcr:lastModifiedBy won't work and isn't reliable. When someone updates metadata info , both above properties get updated as below and hence this doesn't truly reflects who created version or when was last version created.
Hi,
One way to implement this to use custom metadata properties to hold this information. This can be updated as part of the publish workflow for asset or using ResourceChangeListeners.
Thanks
Narendra
Views
Likes
Replies