Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Switching Apps using Widget Action Configuration

Canvas now enables you to switch apps (widgets) at runtime. By making use of the Switch functionality, you can easily switch from one app to another in a feasible manner. Let's assume that the New Classic Grid app is already created in Canvas Studio. For the full set of . For detailed information on creating apps (widgets), refer Creating App and Steps to Create Apps.
Configure Switch for New Classic Grid Widget

To trigger the Switch functionality using the Publish Field List in Action Configuration, perform the following steps:

Let's assume that the New Classic Grid app (widget) is already created in Canvas Studio.

  1. On the App Designer page, hover the mouse on the New Classic Grid Widget  app (widget) and click the Action Configuration Image Removed Image Addedicon.

...


  1. Image Added

    The Action Configuration page appears.

...


  1. Image Added

  2. Click the Event drop-down list and select the rowdblclick rowdblclick (row double-click) event.

...


  1. Image Added

  2. Click the Launch Type drop-down list and select Publish.

...


  1. Image Added


  2. Click the Configuration icon Image Removed Image Addedto configure the Publish Field List.

...


  1. Image Added

    The Publish Field List page appears.

...


  1. Image Added

  2. On the Publish Field List page, click App on the left navigation pane.
    1. Click the Data drop-down list and choose the relevant column, e.g. CARD_NO.
    2. Click the On Complete drop-down list and select the Switch option. For detailed information on the Launch functionality, refer Example - Widget Action Configuration.

    Note:
    1. Note

      On applying Switch, the NEW_CLASSIC_GRD_WGT gets automatically selected as

    the target widget. It is not possible to modify
    1. the target widget.


    2. Click the Search Icon on the Source Widget search box and select the relevant widget (app), e.g. CARD_SUMMARY_WGT.
    3. Once the proceedings are completed, click Save.

...


    1. Image Added
  1. On the Action Configuration page, click Save.

...


  1. Image Added

    A confirmation message, indicating a successful save, appears.

    Image Modified

  2. Click Ok.

    Let's assume that the New Classic Grid app is mapped to the Card Summary Details workspace

...

  1. . The data from the New Classic Grid is displayed in the functional application, Modelhouse.

  2. Click Double-click any record (row) categorized under the column of Card Number.

...


  1. Image Added

    On double-clicking the record (row), the Card Summary app (widget) appears. The New Classic Grid widget gets switched to the Card Summary widget. The data of the Card Summary app gets displayed. 

Image RemovedImage Added