I have an Adobe LiveCycle process that flattens a PDF form and displays the result to users in LiveCycle HTML Workspace ES4. The flattened form appears fine in Firefox and Chrome browsers however when viewing the same form in Microsoft Internet Explorer a "Message from webpage" window is prompted with this message: "MessageDocNotDisclosedError: Target document not disclosed."
The flattened form appears fine in IE and the application still works however I would prefer to get rid of this prompted error message. Is there a way to avoid this error message in IE?
I have seen this error message with flattened documents in the following environments:
Windows 7 / Internet Explorer 9 / Adobe Reader 11 add-on
Windows 7 / Internet Explorer 11 / Adobe Acrobat Pro 11 add-on
How are you returning your flat PDF? Are you flattening the PDF as part of the LiveCycle application and using a document variable, or are you using a custom render process? Also is the PDF document still opened through your Reader/Acrobat plugin in Firefox and Chrome?
Sounds like you have a Forms Bridge issue. When using a render process (Configurable from your Action Profile on the Assign Task activity or from the XDP template in Workbench) the default render process will inject JavaScript inside the PDF to communicate with the Workspace frame. If you're not injecting this script, the PDF and frame won't be able to communicate. If this is the case, the best way to fix this would be to: