I am trying to add a new content to my dm_document
with the DFCMethod :
myDocument.setContentEx(myByteArrayOutpuStream, myContentExtension, pageNumber)
However, when I add this content, I don't know if there are other contents already added to this dm_document
object. In other words, I don't know the value of the pageNumber parameter. I did not find any method such as a getLastContentIndex to perform on my dm_document
.
How can I know the value to give for the parameter ?