How can I switch on a specific layer in a pdf when giving an external customer a
link to that pdf ? I intend to set up separate layers for individual customers
within a single pdf if possible, as I shall be adding a load of hyperlinks
within that pdf and do not want to create a separate pdf for each customer to
reference…. Thanks for your help
Layers can be accessed using JS via the getDataObject getOCGs method. Once you've done that you can set their visibility by setting their state property as true or false to show or hide them, respectively.
Edit: Sorry, wrong method name given.