Using SRA for Offline apps with delta sync

Ajay Jain's Avatar

Ajay Jain

26 Jul, 2012 06:51 PM

Sascha,

I was looking at the documentation and noticed that SRA supports storing data for native apps with offline storage capabilities and ability to sync any changes. Do you have an example for this?

Best,
Ajay

  1. 2 Posted by Ajay Jain on 26 Jul, 2012 06:54 PM

    Ajay Jain's Avatar

    Sascha,

    Looks like the sample iPhone restaurant app you have provided does exactly what I am looking for. Ignore my previous question.

    Best,
    Ajay

  2. Support Staff 3 Posted by Sascha on 27 Jul, 2012 02:29 PM

    Sascha's Avatar

    Please also check out https://github.com/thriventures/StorageRoomCatalog. This repository also has an example for synchronizing content.

  3. Sascha closed this discussion on 27 Jul, 2012 02:29 PM.

  4. Ajay Jain re-opened this discussion on 27 Jul, 2012 06:15 PM

  5. 4 Posted by Ajay Jain on 27 Jul, 2012 06:15 PM

    Ajay Jain's Avatar

    Sascha,

    Thanks.

    One more question - is there a way to make one-to-many relationship field
    required? I don't see it as an option.

    Regards,
    Ajay

  6. Support Staff 5 Posted by Sascha on 28 Jul, 2012 09:30 AM

    Sascha's Avatar

    You should be able to set the Minimum to 1.

  7. Sascha closed this discussion on 28 Jul, 2012 09:30 AM.

  8. Ajay Jain re-opened this discussion on 02 Aug, 2012 04:08 PM

  9. 6 Posted by Ajay Jain on 02 Aug, 2012 04:08 PM

    Ajay Jain's Avatar

    Sascha,

    I am trying to do a search on a collection based on a category - based on
    the documentation, I need to use category.url=:category_url.

    I am supplying the fully qualified url for the category but am getting a
    500 error. Any help will be appreciated.

    Best,
    Ajay

  10. 7 Posted by Ajay Jain on 02 Aug, 2012 04:36 PM

    Ajay Jain's Avatar

    I feel so stupid.. didn't realize I had to use the .url for the category instead of 'category.url'.

    -Ajay

  11. Support Staff 8 Posted by Sascha on 03 Aug, 2012 01:29 PM

    Sascha's Avatar

    Ajay, no worries :). Regards, Sascha

  12. Sascha closed this discussion on 03 Aug, 2012 01:29 PM.

Comments are currently closed for this discussion. You can start a new one.