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. For detailed information on creating apps (widgets), refer Creating App and Steps to Create Apps.

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

Let's assume that the Card Summary Statements app (widget) is already created in Canvas Studio.

  1. On the App Designer page, hover the mouse on the Card Summary Statements app (widget) and click the Action Configurationicon.

    For detailed information on Action Configuration, refer Action Configuration.




    The Action Configuration page appears.



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



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




  4. Click the Configuration iconto configure the Publish Field List.



    The Publish Field List page appears.



  5. 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.

      On applying Switch, the CARD_SUMMARY_STATEMENTS app (widget) gets automatically selected as the Target Widget.

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



  6. On the Action Configuration page, click Save.



    A confirmation message, indicating a successful save, appears.



  7. Click Ok.

    Let's assume that the Card Summary Statements app (widget) is mapped to the Card Summary Details workspace. The data from the Card Summary Statements app is displayed in the functional application, Modelhouse.

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



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