Popups and MPages

Skip to first unread message
Assigned to desani...@gmail.com by eric.s...@gmail.com

Oluwatosin Adeladan

May 18, 2021, 1:36:08 PM5/18/21
to Cerner FHIR Developers
I'm modifying an existing web app so that it can be used on the Cerner platform using mpages.
What is the policy with popups? My workflow right now involves the primary screen spawning one or two secondary windows based on user clicks . Is this allowed for apps on Powerchart?

Oluwatosin Adeladan

May 21, 2021, 8:59:45 AM5/21/21
to Cerner FHIR Developers
Any update on this question?

Fenil Desani (Cerner)

May 21, 2021, 11:22:54 AM5/21/21
to Cerner FHIR Developers

To embed your application within an mpage, you would need to use the following library - https://github.com/cerner/cerner-smart-embeddable-lib

If your app uses a pop-up window for the authorization flow to allow users to authenticate with the system, that is fine for web and stand-alone apps. However, if the app is going to be embedded within PowerChart, browser cookies will NOT be shared between the embedded browser and the newly popped-up browser window. What does this mean? It means that single-sign-on (SSO) will not work; the user would need to manually type in their credential when prompted, which is not the best experience for the users. It’s best to perform all navigations and redirects using the embedded browser without needing to pop-up a new browser while embedding in PowerChart. To learn more about the technical details of IE inner workings, please visit this page and this page.

Fenil (Cerner)
Reply all
Reply to author
0 new messages