Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CHANGE META DATA BY REPLACING XMP FILE

New Here ,
Nov 16, 2020 Nov 16, 2020

I am trying to edit the meta data from the XMP files of a PDF document, by using the XMP file saved from another PDF document.

 

However, I dont seem to be able to replace the XMP files of the current document with those from the other document - I dont even think the XMP file is getting saved properly as it is getting saved with an acrobat extension.

 

Can someone help me with this urgently?

TOPICS
Edit and convert PDFs
4.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 16, 2020 Nov 16, 2020

Go ti File menu : Properties : General : Additional metadata

And clic on the upper right little black arrow


Acrobate du PDF, InDesigner et Photoshoptographe
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 16, 2020 Nov 16, 2020

How does you save the meta data?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 16, 2020 Nov 16, 2020

Bear in mind you must not replace entire XMP files, because they contain a unique ID for the document which must remain unique. You need to edit particular parts of the file, not replace it with a standard one.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 16, 2020 Nov 16, 2020

I just want to change the dates here :

Monoj0D45_0-1605525794531.pngexpand image

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 16, 2020 Nov 16, 2020

No common tools allow the changing of these dates, which are supposed to be accurate rather than nominal, reflecting when an action was done, rather than a date which an author wants to present; no matter how much sense it might make to reflect, for example, publication or copyright date.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 16, 2020 Nov 16, 2020

You can try doing it using a script, like this:

 

this.metadata = "XMP string goes here...";

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 16, 2020 Nov 16, 2020

Unfortunately Try67 I am not acquainted with Java and would not from where to run the script to input the revised XMP string into the PDF dcoument.

In any case, what would constitute the XMP string as you have mentioned? would it have to be the whole XMP file?

Thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 16, 2020 Nov 16, 2020
LATEST

You can run it from the JS Console. The value you need to pass to it is the contents of the XML file, not the file itself.

 

A more advanced script could prompt you to select the actual XMP file itself and then import it directly. If you're interested in hiring someone to do it for you feel free to contact me privately via [try6767 at gmail.com].

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines