JavaScript CookBook/Smart Client Interaction/Opening a web page in the system browser

From GeoMedia Smart Client
Jump to: navigation, search
GMSC 2013/2014 Javascript API Overview Form Events Types Utility Functions client-side Validation Conditions Interaction with SmartClient Cookbook Cheatsheet


Opening a web page in the system browser instead of the GMSC-integrated browser

Problem: You want to open an external website in your GMSC-based workflow. The page shouldn't open in the integrated GMSC browser, but in the default browser of the system (e.g Internet Explorer, Firefox, Chrome).

Solution: Use the SC.browseInNativeBrowser() provided by the SmartClient API to accomplish this goal:

    <FormAction name="browseInNativeBrowser" label="browse" action="SCRIPT[SC.browseInNativeBrowser('http://smartclient.intergraph.at/documentation')]" />


Other Recipes in this category: