Activity Forums Salesforce® Discussions Can we manage offline data within a lightning component?

  • SFDCHacker

    Member
    May 16, 2016 at 6:19 am

    In its essence, Lightning is basically a client-side, browser based framework. It mainly deals with how the data is displayed on the page or how a user interface is presented to enable inputting of data.

    Accessing offline data, or even on cloud data is part of a backend and thus you can surely achieve it using the lighting component. However you would need a native container for web or mobile (for Android or iOS app) that would aid the component in the task.

    EDIT: I am assuming you are creating a Lightning component based visual force page or web app.

    • This reply was modified 8 years, 7 months ago by  SFDCHacker.
  • SFDCHacker

    Member
    May 16, 2016 at 6:22 am

    If you want to create a Salesforce1 based app and then use a lighting component for accessing device data, then sadly this feature is not available as of now. You can only store some stuff in cache and access it in offline mode but you cannot do any detailed actions. Checkout the documentation.

    https://help.salesforce.com/apex/HTViewHelpDoc?id=customize_sf1_offline.htm&language=en_US

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos