The PDF Export Fails to Export
It can be that when creating a PDF Export File in Yonder, a fail message is seen in the “export” area of the Admin Console in the form of a Triangle with an exclamation mark in it:
It is possible to download the created file as a ZIP file, which contains information about the failure in the form of a Text File and a HTML PDF file:
This can be unzipped:
Once unzipped it is possible to access the 2 files exported:
First open the Text file called "error" to find out the location of the error, usually in the code of a module, that is causing the PDF Export from being created:
As can be seen above, the code which is causing the failure is located at “linenumber: 2445”. This information is then used once the "pdfContent" file is opened.
For the next part of the investigative process you will need to download the software “Notepad++” once you have this program continue as below -
To open the “pdfContent” file, use the Right mouse button and select the “Show more options” option:
In the next window, select “Edit with Notepad++”:
Once opened, navigate in the document to the line of code (As shown on the left side of the document) in this case “linenumber: 2445”:
There could be various reasons for the failure of the PDF Export, however, it is usually some code which has been copied into a Yonder module which is the cause. In this case there is code copied into the module which needs to be removed from it:
To find the location of the code and which module it is in, you need to scroll up in the document to find the reference to the module:
In this case the code is located in the module “2.3.13.1”.
Having located the module it is then necessary to navigate to the module and edit the code so that the code causing the failure is removed.
This can be done either in the Change Request Editor View or in the Admin Console View, depending on the status of the document in question, Draft or Released.
Once the code has been been removed from the module, the document can be saved and published. Then a PDF Export of the Document can be created in the “Export” tab of the Admin Console.
If further assistance is required to resolve a failed PDF Export issue, please click here to navigate to the Yonder Service Desk to create a Yonder Support Ticket or contact your Yonder Account Manager.