2 Replies Latest reply on Apr 17, 2015 11:18 AM by pawans

    Is there a way to have apps share information?

    joseph.d.maclean

      I would like to have my apps pass information to each other.  Is there a built-in Jive way to do that or another recommended way?

        • Re: Is there a way to have apps share information?

          If you package your different apps as part of the same add-on package, you should be able to use system properties/extended properties to store information that is accessible by multiple apps.(Jive JavaScript API v3.10 → osapi.jive.corev3.systemExtProps class)

          haven't tried this if apps are part of different add-ons, but I don't think that works.

           

          Otherwise you would need to build this functionality into your backend

            • Re: Is there a way to have apps share information?
              pawans

              As Nils  mentioned, if your apps are in one add-on package, they can share data easily.

              One thing to note here, there are two ways to put multiple apps into one add-on package.

              First where all apps are part of common app.xml and hence common generated definition.json.

              Other way is each app can have its own app.xml, hence own auto-generated definition.json and hence its own UUID.

              In both these case the end result is still one add-on package with one extension.zio.

               

              As far as I know, in first case the apps will be able to share data.

              In second case it might not be possible due to different IDs generated.

               

              Keep that in mind when you try this.