Question:
How to generate the website's PDF through Web2PDF in a specific order?
Answer:
Veeva Web2PDF is a free web solution to convert dynamic digital content to PDFs for faster, more accurate review and approval. Veeva Web2PDF is created and maintained by Veeva.
A user can create a PDF from a single web page or an entire website. The user simply needs to provide a URL, specify the scope (single page or entire site), and provide a contact email. Veeva Web2PDF provides a link for the user to download the generated PDF using email.
In order to generate the website's PDF in a specific order requires a sitemap to be provided to Web2PDF. A sitemap can be either a JSON or XML file that lists the pages of the website in the order the user would like them in. The names of these files must be the following:
- veevaweb2pdf.sitemap.json - if a JSON file is used
- sitemap.xml - if an XML file is used
Either way, the file must be made accessible to the web in the website's root directory. The user can download the example sitemap file from the related documentation below and follow the format from there.
Related Documentation:
Vault Help Documentation: Using Sitemaps