4 Replies Latest reply: Mar 29, 2011 10:31 AM by Suchys RSS

    Modifying XMP metadata does not modify the document

    Suchys Community Member

      Another from couple questions which accumulated over time.

      If I modify layer in document by adding or updating XMP metadata, the document itself is not modified (does not enable save), so far if document is closed without doing some other action which marks document as modified, data are lost.

      Question: how to either force document to see changes in XMP meta or how to mark document as modified?


      Code snippet:

           activeDocument.activeLayer.xmpMetadata.rawData = meta.serialize();