1

I am trying to figure out what it will take to convert an existing app to be compatible with Salesforce1. All there really is online is that you need to hit the checkbox on the edit screen of the VF page. What else needs to be considered to make this a user friend Salesforce1 app?

2 Answers 2

3

It depends on your customer requirement.

Lets say you want just mobile look and feel then the approach would be to just style your existing page with CSS friendlier to mobile.You may use plugins like jquery mobile ,polymer,bootsrap .

If you want a responsive UI with better perfomance then would redesign controller to use VF remoting or javascript remoting.This will remove viewstate and make your transaction light .You may consider using frameworks like angular , backbone or knockout to manipulate DOM

7
  • Thanks for your answer, so what if my app already exists... bunch of custom VF pages and I want to make it available on SF1. Should checking the available on SF1 box be enough to at least see the pages and navigate between them? It is somewhat responsive if I access it through the browser
    – user8560
    Commented Jul 29, 2014 at 13:44
  • it's unlikely that your visualforce pages will 1) look good on mobile or 2) be performent on mobile if you did not build the pages with mobile in mind in the first place. But I would suggest that you just mark the boxes "available on mobile" on your visualforce pages and then you will understand what we are talking about. Mohith has summed your best options.
    – KoenVM
    Commented Jul 29, 2014 at 13:57
  • @user8560 The checkbox just makes VF available on Mobile but there is no magic that will automatically convert your VF to mobile compatible .It is still left to developer to make it compatible to mobile Commented Jul 29, 2014 at 14:27
  • Ok, also, you don't HAVE to use JS remoting right? is that just for better performance? What about caching pages? Is that possible?
    – user8560
    Commented Jul 29, 2014 at 14:44
  • Yes you can cache pages using html 5 manifest concept .Js remoting increases perfomance to greater extent . Commented Jul 29, 2014 at 15:51
0

There is a great slideshow on slideshare.net which shows some of the best practices for how and when to use Visualforce in Salesforce1. It's not that easy and often requires a huge amount of additional development time.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .