Skip to main content
Adobe Employee
September 27, 2021
Question

New Method to Help With Wrangling Metadata: getProjectColumnsMetadata()

  • September 27, 2021
  • 0 replies
  • 235 views

A new method will allow you to parse object metadata.

This is available in Beta today, and will ship with the release of v 22.0.0

Below is what the Premiere Pro Scripting Guide entry will look like.

 

Method:

app.project.rootItem.children[index].getProjectColumnsMetadata()

Description:

Returns a JSON string to the user with all the metadata from the current project view layout

Returns:
A JSON string that can be parsed with JSON.parse() method in the Javascript layer. This generates a list of objects, each object representing a column. Each object will contain 4 key/value pairs: ColumnName, ColumnValue, ColumnID, ColumnPath.
ColumnName and ColumnValue serve as informational key/value.
ColumnID and ColumnPath can be used to modify that column via the method setProjectMetadata() or setXMPMetadata().

For example:

Key Value Description
ColumnName Name Name of the column
ColumnValue A014C003_180620_R205.mov Example of column value
ColumnID Column.Intrinsic.Name ID of the column
ColumnPath http://ns.adobe.com/premierePrivateProjectMetaData/1.0/ Path of the column

 



This topic has been closed for replies.