DAM Embargoed asset pop-up (asset publish only when on time reached)
Hi Team,
When author activates the asset, and the effective publish date is not reached, a popup will display.
So here, we have an option in metadata of an asset is "effective date" it is a date field.

Now the requirement if we publish the asset only when it reach effective dates, it we try to publish asset before effective date then it'll show a pop-up,
Asset will not be published until effective date is reached.."
Give option to Cancel or Proceed with in Pop-up. Proceed will activate the asset.
Not sure how to do this, we need to write a JS, but which OOTB JS we need to overlay for asset metadata, or how to do this?
Note : here "Effective dates" is a custom date field in metadaschema.
Scenario : Suppose, if author set Effective date as 30-Dec-2020 and want to activate the asset before mention effective date 30-Dec-2020, then instead of publishing it'll show the pop-up
"Asset will not be published until effective date is reached.."
Give option to Cancel or Proceed with in Pop-up. Proceed will activate the asset.
@arunpatidar @vijayalakshmi_s @kautuk_sahni @theo_pendle @nikhil-kumar