If you are unable to preview the letter in Correspondence Management Create Correspondence UI and wondering what might have happened – this blog tries to explain the reason behind it
If you are using Chrome , you may be seeing the issue as shown in the below screen shot
If you are using Firefox , you may be seeing the issue as shown in the below screen shot
When a letter is opened for preview the Create Correspondence UI opens and this UI is split in to two halves
On the left hand side the contents that are used in the letter are shown in the Flex UI and on the right hand side the preview of final correspondence is shown as PDF
In order to display the PDF on RHS one would need PDF plug-in in the browser that is being used.
The latest versions of modern browsers like Chrome and Firefox have their own in-built PDF Viewers
Chrome’s inbuilt PDF viewer is Chrome PDF Viewer , Latest versions of Firefox has a PDF.js plug-in which shows the PDF in html form
The PDF that is shown on the right hand side of create correspondence UI is an XFA form based PDF and the built-in PDF viewers of Chrome and Firefox do not support the preview of these PDFs
The solution to resolve this issue is to set Adobe’s Acrobat/Reader plug-in as the default plug-in to open PDF files inside the browser
Follow the below steps to set Acrobat/Reader plug-in as default plug-in to open PDFs in Chrome
1. Open Chrome browser
2. type chrome://plugins in omnibar and press Enter
3. If Chrome PDF Viewer is enabled , you should see something as below in your browser (Notice the Disable on Chrome PDF Viewer – which means it is currently enabled , user can click the link to disable it)
3. Disable Chrome PDF Viewer and Enable Adobe Reader PDF plug-in , after Reader plug-in is enabled you should see something as below in your browser (In this example Adobe Reader is shown but if you have Acrobat installed on your system , the Acrobat plug-in should be enabled)
4. Try to preview the letter again after Reader plug-in is enabled , The letter should render fine now
Follow the below steps to set Acrobat/Reader plug-in as default plug-in to open PDFs in Firefox
1. Open Firefox browser
2. type about:config in address bar
3. type pdfjs in the browser search box
4. In the preferences, select pdfjs.disabled – the option would be enabled by default , set it to false
5. Also in the preferences , ensure that the Acrobat/Reader is selected as the application to open PDF files
6. Restart the browser
If the above steps are followed to set Acrobat or Reader PDF plug-in as the default of Chrome or Firefox then the XFA form based PDF would appear properly on the RHS of the Correspondence Management Create Correspondence UI
Note : In case if the PDF viewer is properly configured to Acrobat or Reader plug-in but if you still see issues in viewing letters there could be some other issue.
I will post a seperate blog to investigate how the letter preview issues can be debugged … stay tuned….







