Skip to main content
dction
Participant
September 13, 2018
Answered

How to detect the Reader Type

  • September 13, 2018
  • 5 replies
  • 665 views

Is there a way to detect the Reader Type? I would like to check whether the user open the form using Adobe Reader or other 3rd party reader. How do I implement it in AEM Designer?

Thank you.

    This topic has been closed for replies.
    Correct answer Bernd Alheit

    Try the forum for AEM Designer.

    5 replies

    Legend
    September 13, 2018

    All you get with an XFA form in a non-Adobe product is the splash page telling them they need to download Acrobat Reader (or some such; the message changes and is hard coded to the PDF). No code will be executed, no content shown.

    Legend
    September 13, 2018

    But there is no warning message you can set in an XFA form...

    try67
    Community Expert
    Community Expert
    September 13, 2018

    Can't you have static text and then cover it up using a field or something like that? I'm not familiar enough with XFA forms to say for sure, but it seems like something that should be possible...

    try67
    Community Expert
    Community Expert
    September 13, 2018

    A script can be used to detect whether the file is opened in Reader, and if so it should hide a warning message that is otherwise visible.

    That will mean it will also work in a viewer that doesn't support scripting at all.

    Legend
    September 13, 2018

    Easy: the form won’t work in other viewers at all. Users will see a message telling them to get Reader.

    Bernd Alheit
    Community Expert
    Bernd AlheitCommunity ExpertCorrect answer
    Community Expert
    September 13, 2018

    Try the forum for AEM Designer.