2 differnet apps share same content type entitie , is this possible?

Jan 29, 2015 at 4:01 PM

I am working on several apps for an audubon society ( so lots of bird data )

Now i have allready made one app that has all the bird data and ways to view and filter them

Now I am working on a new app that has a google map and other information for all the birding locations

Now I want to link each location to all the birds that can be seen there, However the bird entity is in a different app

Is there a way to link these or so I need to combine both the bird listing and the map app in one app in order to reuse my bird data ?

Jan 30, 2015 at 10:20 AM
You can access data from another App :)

There are a few ways, but you'll probably want to go the simple Razor-way. In short: there is a DataSource called AppDataSource or something. You can give it a Zone- and App-ID, and if you do' it will give you data from the other App.

Can't create an example right now, but I think this should help you figure it out. Of course your code will then have a hard-wired App-ID of the other app, but you could put that in the Map-AppSettings so its configurable.

Best, Daniel