cancel
Showing results for 
Search instead for 
Did you mean: 

Sharing SyncBOs between MI applications

Former Member
0 Kudos

Hi,

Is it possible to share SyncBOs between 2 MI (AWT & SmartSync) applications ?

I have seen the DATA_VISIBLE_SHARED flag in the MeRepApplication.xml file but it seems to be for sharing SyncBOs between users on the same client. Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

It was the second scenario : "sharing between 2 MI applications like MAM and MSR which are running on top of an MI client"

I was looking for something like "VisibilityType.APPLICATION_SHARED"

Thanks for your reply Jo.

Former Member
0 Kudos

hi sebastien,

unfortunately there's no such type Visibility.APPLICATION_SHARED.

only SEPARATED and USER_SHARED. (<a href="https://media.sdn.sap.com/javadocs/NW04/SPS15/me/com/sap/ip/me/api/conf/VisibilityType.html">VisibilityType</a>).

data sharing on user level was supported before but not on the application level.

then this user level data sharing support was also removed and is not supported

anymore.

regards

jo

Former Member
0 Kudos

hi sebastien,

what do you mean by "between 2 MI (AWT & SmartSync) applications" ?

1) do you mean you have 2 MI clients - AWT and Tomcat runtime in your device

and want to share the data between these clients?

2) do you mean sharing between 2 MI applications like MAM and MSR which

are running on top of an MI client?

for 2) this is not supported anymore. only the metadata (descriptor data) are stored

in the application shared data store. the interface like

<b>SmartSyncRuntime.getSyncBoDataFacade(VisibilityType):SyncBoDataFacade</b>

will ignore the VisibilityType parameter if it is USER_SHARED type & return the

facade of the SEPARATE data store instead. you will get a warning in the trace

file related to this.

for 1) possible but requires a little configuration tweaking.

regards

jo