3 Replies Latest reply on Jan 21, 2009 1:17 PM by rhauch

    Dynamically add Metadata

    jksmartt

      Is it possible in DNA to dynamically change the metadata for a node on the fly? That is, let's say there is the following node type:

      [image:metadata] > nt:unstructured, mix:mimeTyped
      - image:formatName (string) mandatory
      < 'JPEG', 'GIF', 'PNG', 'BMP', 'PCX', 'IFF', 'RAS', 'PBM', 'PGM', 'PPM', 'PSD'
      - image:width (long)
      - image:height (long)
      - image:bitsPerPixel (long)
      - image:progressive (boolean)
      - image:numberOfImages (long)
      - image:physicalWidthDpi (long)
      - image:physicalHeightDpi (long)
      - image:physicalWidthInches (long)
      - image:physicalHeightInches (long)

      While DNA is running can we programatically change the definition to be:

      [image:metadata] > nt:unstructured, mix:mimeTyped
      - image:formatName (string) mandatory
      < 'JPEG', 'GIF', 'PNG', 'BMP', 'PCX', 'IFF', 'RAS', 'PBM', 'PGM', 'PPM', 'PSD'
      - image:width (long)
      - image:height (long)
      - image:bitsPerPixel (long)
      - image:progressive (boolean)
      - image:numberOfImages (long)
      - image:physicalWidthDpi (long)
      - image:physicalHeightDpi (long)
      - image:physicalWidthInches (long)
      - image:physicalHeightInches (long)
      - image:owner (string)

      So basically, can we dynamically add new "tags" to the metadata, without restarting and reconfiguring DNA?