cancel
Showing results for 
Search instead for 
Did you mean: 

Disable Sync option through code

Former Member
0 Kudos

Hey guys.

My customer is on NW 7.1 SP 11.

I'd like to know if there is a way of disabling the sync option from NW Mobile client by code and only enabling back if a condition is met.

Thank you.

David.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello David,

Guess we cant acheive this from the client code.

In case you need this , you can tweak your data objects & Bapi's such that only when particular condition in the client data is met, you can return the data.

This should be possible by have one more BOOL variable in the node.

regards,

Lakshmi

Former Member
0 Kudos

Hi,

well, you could change the sync setting and reset it if you want to allow it again - nit the nicest way, but absolutely possible.

But why not the other way round: Do not allow the user to close your app and so you build the sync functionality inside your app - in that case you have it all in your hands - cause it is your code.

Regards,

Oliver