I need to store the ID number of an item into the document label.
I have tried:
myLabelString = new String(myDoc.allPageItems[n].id)
But got the error
Result: Error: Invalid value for set property 'label'. Expected String, but received function data.
I can add the ID number by:
but I need this to be a variable.
I have seen some posts using the function 'insertLabel' passing value and key. What is the 'Key' in this?
I have to pass the id number as a string though:
but thats OK