Announcement

Collapse
No announcement yet.

#022 - NAB app-to-app communication

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #022 - NAB app-to-app communication

    SUMMARY:

    In this week's session we covered recently added feature that brings unique app-to-app communication abilities to Nitro App Builder. We demonstrated how you can have one app call or launch another app, then have the second app send information back to the first app, altering what it shows.


    URL: https://youtu.be/ejoEhqnjSx4

    Screen Shot 2021-08-30 at 4.46.44 PM.png

    TIMESTAMPS AND FEATURES COVERED:

    1:05 - Going over the wire frames of a sample app showcasing NAB App-to-App communication.
    3:20 - Orders Application in NAB
    3:36 - Adding a Behavior to a "New Order" button to Launch a Customer List Application 4:37 - Creating App Variable - customerNumber, customerName
    5:15 - Setting up the "Fire Event" option in NAB
    6:00 - Setting up the "Close App" Utility
    6:38 - Setting up " Event Listeners" in NAB App
    7:50 - Mapping fields - Field Relationship and Event Parameters
    8:00 - Setting up Set App Bar Title and Hide / Show sections
    9:00 - Testing the new setting in the NAB app
    9:45 - Many apps in NAB can listen to the same event

  • #2
    In the demo, when the "New Order" button is clicked to launch the Customer List app, is it possible to control the Customer List title bar value to display something like "Select Customer for Order"? If the Customer List app is active, will a second instance of the app be displayed when the "new Order" button is clicked?

    Comment


    • #3
      Yes, you can control the app bar title of the application that you are launching.
      • Edit the "Customer List" application and go into behaviors
      • Click the "URL Parameter Filtering" button on the bottom left
      • Assign a URL parameter name to the Appbar Title. Let's assume you name it "appBarTitle".
      • Next, edit the calling application...in this case "Orders".
      • Go into behaviors and locate the Launch App action. Add a new parameter named "appBarTitle" and set the value to whatever you want the Appbar title to be.
      If the Customer List app is active, will a second instance of the app be displayed when the "new Order" button is clicked?
      By default, only one instance of the application is run at a time. However, this value can be changed in Portal Admin > Apps > Settings. So if you changed it to 2 and had 1 already running, the New Order click would launch a new instance of the application.

      Comment

      Working...
      X