• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Navigating between apps

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

  • Navigating between apps

    My OE app opens a Customers app. We have a back button defined in the customers app that has two actions
    1. Fire Event "back"
    2. Utility Close App

    The "back" local event
    1. Sets the App Bar title to the previous title
    2. Shows the previous section
    3. Calls an RPG program to remove a "lock" on the customer record

    This all works great.

    I added a button to delete the customer in the summary section of Customers app (so it's not in the main section). Upon success, I would like to close the app and return to the OE App. So I added:
    1. Fire Event "back"
    2. Utility Close App

    The app is not closing... instead, it is displaying the main section of the app.

    What am I missing?

    Thanks!



  • #2
    Is the "Utility > Close App" conditioned by a "feature"?

    Comment


    • #3
      Originally posted by sean.lanktree View Post
      Is the "Utility > Close App" conditioned by a "feature"?
      Yes. I conditioned it the same way the back button was conditioned (feature "isSubapp"). I'm assuming this is true only when the Customers app is opened by the OE app.
      Looking in the tools, i see "nabfeatureisSubapp" true.

      I changed the button action to simply close the app. It appears the Close App utility only functions when the app is opened standalone.

      I'm really confused. I think I have two app-level "back" buttons that appear in the same place. If the Customers app is opened from another app, I believe the user is seeing the app-level "back" button from the OE app. This fires a public event called "userReqestedBack".

      I'm just not sure how to sort this out so that the buttons function no matter how the Customers app is opened.
      Last edited by gwilburn; 12-17-2024, 02:11 PM.

      Comment


      • #4
        Might be easier if we can just take a look...want to reach out to support@cnxcorp.com and schedule a call?

        Comment

        Working...
        X