Skip navigation
digieyeztsl
Currently Being Moderated

Problem with Capability.READ_XMP_METADATA

Mar 28, 2012 5:58 AM

I am creating an adobe drive 3.0 connecter for our system and I having problems getting it to read XMP data in bridge.

 

I have in ConnectHandler:

 

response.setCapabilities(this.getCapabilities());

 

private Capabilities getCapabilities()
{
if (capabilities == null)
{
capabilities = new Capabilities();
LOGGER.debug("Setting XMP capability read");
capabilities.add(Capability.READ_METADATA);
capabilities.add(Capability.READ_XMP_METADATA);

}
return capabilities;
}

 

But

 

Iterable<GetAssetsRequest.Item> items = request.getItems();

 

for (Item item : items)
{
DataTypes dataTypes = item.getDataTypes();

 

Here dataTypes Never contains DataType.XMP.

 

What am I missing?

 

 

Thanks very much in advance.

 
Replies
  • Currently Being Moderated
    Mar 29, 2012 2:42 AM   in reply to digieyeztsl

    Hi

     

    Are you using Adobe Drive in Bridge? if you browse to one asset and click it,  and keep metadata panel open, GetAssetRequest will contain DataType.XMP, this data type is specific for Bridge

     

    Thanks

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points