Running either of these require lines from the UXP docs in UDT 2.0.1 playground results in an error indicating uxp.xmp does not exist. How can we use the XMP module via UXP in InDesign?
XMP module is only available in Photoshop from UXP 7.2 onwards.
This feature needs each Host Application to do some work to enable the module and associate this the underlying XMP engine. Its a miss in the documentation to highlight the availability in applications. Will correct this information.
As far as Indesign goes, XMP should get enabled sometime early this year.
The XMP module is a vital part of a CEP extension we’re currently trying to migrate to UXP. Unless there are alternative methods for storing metadata in an InDesign document, we’ll have to wait for XMP to be included to continue. Thanks for the update!