JavaScript help - making all object ID for xobjects unique
Hi
I'm trying to write the javascript for a custom command that runs through a document and finds all xobjects with duplicate object ID and changes the object IDs so they are unique. For context, the xobjects with duplicate object ID's is about 1-2% or less of all xobjects.
I've been struggling to find which part of the api relates to what I want to do, if someone is able to point me in the right direction or have an example?
Any help is much appreciated!
