Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Server Developers
Viewing all articles
Browse latest Browse all 20709

createTOC error

$
0
0

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.


Viewing all articles
Browse latest Browse all 20709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>