Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

window.launchbox.Browser.start () is not launching in new window

SA-59730

Summary



The below code is used to open a browser from a mobile application. However, the browser does not open in a new window. window.launchbox.Browser.start(url,{external:true})

Removing external:true, opens the browser in the mobile application.


Error Messages



Not Applicable


Steps to Reproduce

  1. Add the below code in the UserWorkForm in a function.

    window.launchbox.Browser.start(url,{external:true})
     
  2. In one of the sections, add a link with action as On Click Run Script with the above function.
  3. Run the application in the mobile application. Navigate to the section with the link.
  4. Click the link.


Root Cause



A software use or operation error. The keyword "external", in the API, was used without single quotes.


Resolution



Perform the following local-change:

Syntax to use the API is, window.launchbox.Browser.start(url,{'external':true})

For more information, refer to: https://community1.pega.com/sites/pdn.pega.com/files/mobileclient/7301/api/client_api/container_example_browser.html

 

Published July 23, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us