21

Can Visualforce pages exposed in the Salesforce1 mobile application be opened offline, and if so is there any offline storage available, such as HTML 5 local storage?

6
  • 1
    I am not sure, but here some official suggestions from this Salesforce1 guide: - Salesforce Classic remains the best option if you need offline support, - use of Custom App (not Salesforce1 Platform) to configure and control complex offline behavior (Mobile SDK only) Nov 26, 2013 at 9:10
  • 1
    I'm not sure Salesforce1 itself allows offline access (or would you need to pre-open the VF page before losing connection in this case). Nov 26, 2013 at 21:52
  • 1
    Having just tested this, it appears that Salesforce1 doesn't like operating offline. While you can specify the pages as being offline, and create a cache manifest, salesforce1 itself will complain that there is no connection to the server when you attempt to open the page. If there's a way to do this, I'm not sure how it's done. The documentation doesn't say anything about offline.
    – sfdcfox
    Dec 4, 2013 at 15:38
  • 1
    Seems like Salesforce1 doesn't allow to open a VF page offline, at least I can't open mines. As sfdcfox said I didn't find anything in documentation about it.
    – Carolina
    Dec 9, 2013 at 0:02
  • That's a very good question to ask at the 'Salesforce1 World Tour' On the 26th March at Melbourne. You can register from today salesforce.com/au/events/details/sf1wt14-melb/…
    – brovasi
    Feb 16, 2014 at 21:48

2 Answers 2

12

Among my contacts at SFDC, this is a "hot" feature request. Somehow here in Germany a lot of people come up with that requirement. At sf1 world tour in London, I attended the breakout session "Salesforce1 Platform Roadmap" and it was said, they are working on that, but at the moment, there is no offline support.

So I would say: no offline support for now. I will verify this on the sf1 world tour in Munich on July 3rd.

1
  • 1
    In Munich on July 3rd it was said that it will come soon. But mind Safe Harbor.
    – Uwe Heim
    Jul 29, 2014 at 15:06
3

first , sorry for my english :s unfortunatly it is a foreign language for me (also I've answered with my Iphone which has a french keyboard).

Second, you can create any visualforce page , declaring a "manifest" (which list all the files/pages/images you want to be able to load offline) directly in the visualforce page (in the tag and host the visualforce page in a Site.com website , (or on HEROKU, this is what I do ) . and then , load this page within Salesforce1, Offline. I'm currently in a process of validating my Salesforce1 offline package with the Salesforce security review (free app) , but it's taking quite long.

Also, to serve an offline VF, using a weblink or and integration in a page layout seems to be the only way. It seems that lightning is also supporting this feature natively (I think I saw in the manual that the tag name is AppCache).

I'll be happy to share code or to help if you want

2
  • forgot to said, it seems that lightning is also supporting this feature natively ( i think i saw in the manual that the tag name is AppCache) .. If you want some code sample , do not hesitate to contact me, I'll be happy to share
    – jerome
    Nov 14, 2014 at 21:54
  • sorry last comment, to serve an offline VF, using a weblink or and integration in a page layout seems to be the only way
    – jerome
    Nov 14, 2014 at 22:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.