I'm communicating with Adobe Experience Manager, Version 220.127.116.11. I'm trying to update metadata of an existing asset.
Based on the API documentation I'm doing a PUT to :
With this data:
Hi @jonasy18481676 ,
Try to get the API response after updating meta data and print it in logs..which will give you a clear picture on what happened. Are you able to see the updated meta data inside CRX for that asset.
I checked inside CRX and I found that I need to do create my request like this:
hi @jonasy18481676 ,
Sync metadata update between dc and jcr namespace - you have to do this sync after updating metadata using api call.
The API method updates the metadata properties in the jcr namespace. The updates made using the user interface change the metadata properties in the dc namespace. To sync the metadata values between dc and jcr namespace, you can create a workflow and configure Experience Manager to execute the workflow upon asset edit. Use an ECMA script to sync the required metadata properties. The following sample script synchronizes the title string between dc:title and jcr:title.
Check this for more details,
I checked in CRX and both dc:title and jcr:title are in the metadata level, not in the "metadata" level, not in jcr:content. So I think this is related to something else?