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

Calling a separate app within app

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

  • Calling a separate app within app

    I believe there is a way to call an external app within my current app. In the past, I've called an external app and closed my current app to make it seem like the same app to the user. There is a bit of a load time when I do that and I believe I saw a different way of doing this, using URLs?

    I'd like to place that 'external app ' within a section of my main app and call it by hiding/showing sections.

    I wouldn't have to launch/close apps when I call an app from my main app, as I've done in previous app builds.(Screen shots attached) I control the users' behavior by making the called apps non closable and a attach a 'back' button'. I do the same type of launch app /close app when I go from my called app back to my main app and I'd like to to make is more efficient in load time of the apps/data and maintenance.

    I'd like to know how should I set up the app being called and how to set up the calling (Main) app.


    Thank you in advance!



    Attached Files
    Last edited by mramos; 10-21-2023, 02:12 PM.

  • #2
    If you're on "6.2.20230927", you can place the URL utility widget into a section.

    Then, when setting up your launch app, you can choose to launch it in that utility widget, never leaving the main application

    Comment


    • #3
      I've got the utility widget chosen in a new section of my main app. I assume I can throw the URL for the app to be called in an app variable. can you give me an example url for this type of call?



      I think this is the close I've gotten to an example.

      Thank you, Johnny.

      Comment


      • #4
        Is the application that you want to call defined as an application in Portal Admin > Apps? If so, you would want to choose the "Launch App" action which will now allow you to launch the app into your URL utility widget.

        Comment


        • #5
          Yes, it is. I see that action option. Is there a location I can copy the URL of the app I want to call and paste it in the app var? If not, can you give me an example of what the URL should be? I have the app id a few parameters.

          Comment


          • #6
            If you go into Portal Admin > Apps and find your application you can copy the "Path" to it. You could place this into an app variable and "link" this app variable to the "Set URL" property of the URL widget. However, using "Launch App" would be a preferred approach as this way you do not need to worry about app ids (changes from instance to instance) and the "Launch App" approach is smart enough to not reload the entire application each time.

            Comment


            • #7
              You could also choose the "Share" option next to any application in NAB to retrieve the URL.

              Comment


              • #8
                Got it. I'll be waiting for the latest update to try that approach. Currently on version 6.2.20230721.0. Thank you.

                Comment


                • #9
                  Sorry about that...I should have asked you what version you were on.

                  Comment

                  Working...
                  X