Hi all!!
I am working with InDesign server CS3. In my script I'm having problems calling to the function createTOC().
This is my code:
var estiloTOC = app.documents.firstItem().tocStyles.itemByName("EstiloTOC1");
app.documents.firstItem().createTOC(estiloTOC);
The error only says javascript error in the function createTOC.
I try de same code in the InDesign CS3 desktop version and it works.