How to verify programmatically an asset has been published to Brand Portal
Hello,
We are using AEMaaCS Author. Is there a way to programmatically check/verify if an asset has already been published to Brand Portal from Author instance? I wasn't able to find a metadata property on the asset node that confirms that. There is dam:portalReplicationAction which same asset have set to "ActivateQueued" but I don't see it on all assets that have been published to our Brand Portal.
Before a process of moving an asset we need to verify if it is already on the Brand Portal and if so republish it after the move.
Can you please help with finding a way to determine that?
Thank you!