I want to display the unlisted group names when the vf page is previewed in desktop and listed and private group names when opened in mobile(salesforce1). How can be this possible?

| improve this question | | | | |

It is very easy. We need to call an action function from a java script function by differentiating sf1 and desktop browser in java script function and in action function we can query the list with if else condition. I mean, if it is browser it should display unlisted group names or else it should display listed and private group names.

| improve this answer | | | | |

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.