Skip to Content
0
Former Member
Jun 23, 2015 at 10:54 AM

Not able to download data from SMP 2.3 SP04

20 Views

Hi,

We are using SMP 2.3 SP04 server which is a single node setup.

Ours is a native iOS application. We have more than 90 MBO's among which some are scheduled, some ondemand and some are relationship MBO's. When i try to synchronize the whole package using following code,

SUPPersonalizationParameters * pp = [SUP_SUPDB getPersonalizationParameters];

[pp setLogin_DistributorID:[numberFormatter numberFromString:[[UserSession getInstance] LOGINUSERID]]];

[pp setLogin_DistributorID_Str:[[UserSession getInstance] LOGINUSERID]];

[pp save];

[SUP_SUPDB synchronizeWithListener:self];

I am not getting any data downloaded to device. It doesn't throw any error also.

On the other hand, When i try to download a specific group alone using below,

SUPSurgery_TypeSubscription *sp = [SUPSurgery_TypeSubscription getInstance];

[sp setS_DistributorID:myNumber];

[SUPSurgery_Type addSubscription:sp];

[SUP_SUPDB synchronize:syncgroup_name withListener:self];

I am able to get the data for this group alone. Please help me on how to sync whole package data to device.

Any help will be highly appreciated.

Thanks in Advance.