Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

"xha.host.messageBox" nor "app.alert" not working when embedded in IE

Explorer ,
Oct 27, 2020 Oct 27, 2020

Reader  DC v2020.012.20048
Windows 10 10.0.19042 Build 19042, IE 11.572.19041

 

PDFs embeddd in IE 11, or using the "Preview PDF" tab in Livecycle designer, no longer show user dialogs triggered using "xha.host.messageBox" or "app.alert".  Other "xfa.host" functions still return data.  When opening the PDF 'stand alone' everything works as expected.

Here's an simple example form.  The button should show two message dialogs as well as information in a text box.    Interestingly the code continues to execute after the calls to xfa.host.messageBox and app.alert, and the text box is correctly populated.

Test page:  https://www.aduk.net/pdfTest/

 

I have used the Acrobat DC removal tool and re-installed Acrobat.

 

These builds of Windows and IE 11 work:
10.0.17763 Build 17763, IE 11.1518.17763
10.0.18362 Build 18362, IE 11.1139.18362

These ones fail:
10.0.19041 Build 19041, IE 11.572.19041
10.0.19042 Build 19042, IE 11.572.19041

TOPICS
PDF and browsers , Windows
1.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Oct 30, 2020 Oct 30, 2020

Work around found:

  • Open Adobe Acrobat Reader
  • From the menus, select “Edit” then “Preferences”
  • In the preferences dialog, select “Security (Enhanced)” from the list of categories
  • In “Sandbox Protections” uncheck “Enable Protected Mode at startup”
  • Restart Acrobat
Translate
Explorer ,
Oct 27, 2020 Oct 27, 2020

Also fails:
10.0.19041 Build 19041, IE 11.508.19041

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 28, 2020 Oct 28, 2020

Your redirection script is broken...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 28, 2020 Oct 28, 2020

I was able to find the correct URL and it works just fine in IE 11.0.9600.19374 using Acrobat XI.

If you find it's not working with some versions of Reader DC report it to Adobe as a bug:

https://www.adobe.com/products/wishform.html

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 28, 2020 Oct 28, 2020

Thanks for the reply.   

What version of Windows 10 were you using?

Unfortunately Acrobat XI is no more supported by Adobe.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 28, 2020 Oct 28, 2020

Windows 7

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 30, 2020 Oct 30, 2020
LATEST

Work around found:

  • Open Adobe Acrobat Reader
  • From the menus, select “Edit” then “Preferences”
  • In the preferences dialog, select “Security (Enhanced)” from the list of categories
  • In “Sandbox Protections” uncheck “Enable Protected Mode at startup”
  • Restart Acrobat
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines