Skip to main content
Known Participant
August 3, 2021
Answered

Update Author Title field in Indesign XMP Metadata

  • August 3, 2021
  • 4 replies
  • 866 views

 

Dear All,

 

Any possibilities to update the "Author Title" filed through the Indesign JAVAScript. Please suggest.

 

 

Thanks,

Elansezhian R.

 

This topic has been closed for replies.
Correct answer Kasyan Servetsky
app.activeDocument.metadataPreferences.setProperty("http://ns.adobe.com/photoshop/1.0/", "photoshop:AuthorsPosition", "My updated author title");

4 replies

Community Expert
August 4, 2021

Hi Elansezhian R.

did you test Kasyan's code?

 

For me with InDesign on Windows 10 it works perfectly.

So I marked Kasyan's answer as the "Correct" one.

 

Also see into this article:

 

Storing custom data into InDesign file via XMP
Marijan Tompa (tomaxxi), September 7, 2010

https://indisnip.wordpress.com/2010/09/07/storing-custom-data-into-indesign-file-xmp/

 

Regards,
Uwe Laubender

( ACP )

Kasyan Servetsky
Kasyan ServetskyCorrect answer
Legend
August 3, 2021
app.activeDocument.metadataPreferences.setProperty("http://ns.adobe.com/photoshop/1.0/", "photoshop:AuthorsPosition", "My updated author title");
Community Expert
August 3, 2021

Another thought:

With Adobe Bridge you should be able to insert the Author Title for all filtered InDesign documents on a volume.

 

Regards,
Uwe Laubender

( ACP )

Community Expert
August 3, 2021

Hi Elansezhian R.,

search the forum. I think, we already had that discussed and also seen some code.

However, the basic thing is that there is a name defined in menu File > User … which is not the case with a default version of InDesign freshly installed.

 

Regards,
Uwe Laubender

( ACP )

Community Expert
August 3, 2021

Sorry. You are looking for "Author Title" and not for "Author".

That's not provided with:

app.documents[0].metadataPreferences

unlike "Author" which is.

 

Regards,
Uwe Laubender

( ACP )

Known Participant
August 3, 2021

 

Laubender, Thanks much for the reply and yes I am looking for the "Author Title" field to update through Indesign JAVASCRIPT.

 

Thanks,

Elansezhian R.