Screen as Pop Up

  • Vasileios Thanasias
        Has successfully completed the online course Basics (100)
      1 year ago #36492

      Hello,

      Is it possible to have a Simplifier screen as Pop Up?

      The screen should has some text, image, checkbox and input fields, and the values should be saved in the global variables.

      Jennifer Häfner
          Has successfully completed the online course Intermediate (200)
          Has successfully completed the online course Advanced (300)
          Has successfully completed the online course Basics (100)
          Has successfully completed the online course Advanced (310)
          Has successfully completed the online course Advanced (320)
          Has successfully completed the Intermediate Certification
          Has successfully completed the Advanced Certification
        1 year ago #36559
        Up
        1
        Down
        ::

        Hi Vasileios,

        Alex is right, you cannot open a screen of a Simplifier application as a popup, so if you really want to have a separate popup window and not a dialog on the screen, you need to implement a workaround.

        In addition to Alex’ suggestion, you can also open your Simplifier application via URL in a popup:

        window.open("URL_of_your_application", "_blank", "popup=true")

        Using URL query parameters and reading them with auto fields (as demonstrated in this video), you can transfer data from your base application to the popup. However, to transfer data from the popup to the base application, you cannot use global variables because both windows will have separate sessions. So you need to store the data in a common database for example.

        Alex K
            Has successfully completed the online course Intermediate (200)
            Has successfully completed the online course Advanced (300)
            Has successfully completed the online course Basics (100)
            Has successfully completed the online course Advanced (310)
            Has successfully completed the online course Advanced (320)
          1 year ago #36523
          Up
          0
          Down
          ::

          No, there is no way to invoke a Simplifier Popup ( Seperate Screen ).

          If you still manage within the application, you can use Screen-Dialogs, to do the trick.

          However if you want to open a serperate Window, you can use custom JavaScript.

          Example:

          var windowContent = '<!DOCTYPE html>' +
            '<html>' +
            '<head><title>Title</title></head>' +
            '<body style="margin:0; padding:0; height:99.6vh">' +
            'Text' +
            '</body>' +
            '</html>';
          
          var Win = window.open('', '', 'width=1000,height=1020');
          Win.document.write(windowContent);
          Win.document.close();
        Viewing 3 posts - 1 through 3 (of 3 total)

        You must be logged in to reply to this topic.