Skip to Content
author's profile photo Former Member
Former Member

Refreshing schema model in a Offline Kapsel application

Hello,

I am working with a Offline application using Kapsel Odata plugin. Currently we have the version 1.1 of our app but the next version 1.2 will include changes in the schema model of the database. Concretely I am adding two boolean fields in our API.

With a clean installation of the newest version of our application works correctly, but when I update from the 1.1 to the 1.2 it is not working and the values are not added or updated.

Why is not updating correctly the schema and values?

I have seen this link: Offline OData Refreshes and Updates - Application Development in SAP Mobile Platform - SAP Library reading the area of Schema upgrades, is it necessary to send anything from the Odata producer to the front-end to detect changes in the schema?

Thank you for your help.

Óscar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Aug 03, 2016 at 08:56 AM

    Hi Oscar,

    You cannot update the offline store schema once its made at initial. Even if you want to add another Entity Set after its downloaded its not possible. A new version of app with a new or changed schema will require you to create a new offline store.

    Hope this helps,

    thanks,

    Rakshit Doshi

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.