How to get expiration Flag for custom expired metadatafield for Assets | Community
Skip to main content
khamat_bn
Level 4
Jan 30, 2021 2:22 PM UTC
Solved

How to get expiration Flag for custom expired metadatafield for Assets

Hi guys,

 

I am using cutom expiration metadata property instead of prism:expirationDate. So we want to also have the expiration flags on Assets shown as below image. Please let me know how we can acheive the same.

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SureshDhulipudi
SureshDhulipudiAccepted solution
New Participant
Jan 31, 2021 7:19 PM UTC

Instead of customizing the status, why don't you set or update prism:expirationDate value with your custom expiration date. That will automatically set the EXPIRED flag on Asset.

 

custom:expirationDate = prism:expirationDate

4 replies

SureshDhulipudi
SureshDhulipudiAccepted solution
New Participant
Jan 31, 2021 7:19 PM UTC

Instead of customizing the status, why don't you set or update prism:expirationDate value with your custom expiration date. That will automatically set the EXPIRED flag on Asset.

 

custom:expirationDate = prism:expirationDate

Translate
khamat_bn
khamat_bnAuthor
Level 4
Feb 1, 2021 3:23 PM UTC

Hi,

to update the metadata node with prsm:expirationDate as custom expiration date field, which approach you suggest is better. I have think to modify OOTB workflow xmpWriteback or Event Listner. 

Is there any better approach, please suggest me.

Translate