2 Replies Latest reply: Mar 29, 2012 4:09 AM by digieyeztsl RSS

    Problem with Capability.READ_XMP_METADATA

    digieyeztsl Community Member

      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.