+

Search Tips   |   Advanced Search

Embedding widgets in predefined web pages

Follow these instructions to incorporate widgets into web pages.

If the MobileFirst Studio internal application server does not run on the default port 10080, make sure that you also set this port as the value of the configuration publicWorkLightPort. Otherwise, the action Embed in Web Page does not provide you with the correct URL. For descriptions of publicWorkLightPort and other MobileFirst configuration properties, see Configure a MobileFirst project in production using JNDI environment entries. For information about how to specify MobileFirst configuration properties, see Application server-side configuration parameters.

MobileFirst widgets can be embedded in predefined web pages, such as corporate websites or intranet portals.

To embed a widget in a predefined web page:

  1. In the operations console, on the Catalog tab page, locate the widget, and then click Embed in web page. A window is displayed, which contains the URL of the application to which you point in the website to embed the widget.

  2. Paste the URL in an HTML snippet in the web page where to embed the widget.

      <iframe src="URL_to_embed" width="widget_width" height="widget_height" style="border:none;"> </iframe>


Parent topic: Development guidelines for desktop and web environments