Expand my Community achievements bar.

SOLVED

share data between apps

Avatar

Community Advisor

is it possible that 2 apps use the same namespace and acces the same file system as described here: https://github.com/adobe/aio-lib-files

the use case is to have one app that just display data (for users with no access to all the Adobe API) and another app which performs all the background tasks (API actions)

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee

Hello,

The solution is to create an action that acts as an endpoint for reading data from the other application. Our security model assumes that each application owns its data. If it needs to share data with another application, it can use custom events or expose an endpoint.

 

Thank you,

Mihai

View solution in original post

4 Replies

Avatar

Correct answer by
Employee

Hello,

The solution is to create an action that acts as an endpoint for reading data from the other application. Our security model assumes that each application owns its data. If it needs to share data with another application, it can use custom events or expose an endpoint.

 

Thank you,

Mihai

Avatar

Community Advisor
thanks for this idea with "actions" to trigger other apps!

Avatar

Employee

Hi @Urs_Boller ,

Looks like this is related to https://experienceleaguecommunities.adobe.com/t5/project-firefly-questions/user-permissions-for-fire...

Similar to that question, we recommend practicing caution when considering a solution to share data between applications as it can give users access to data that they are not supposed to be able to see. 

In regards to the file lib, it is tied to one namespace at the moment and doesn't allow cross-namespace access. 

Sarah

Avatar

Community Advisor
But is it possible that 2 apps access the same single namespace for filelib? or is the filelib unique to a single app?