1

I am using the jQuery datatables plugin in visualforce page to display list of contacts in a table. This is working fine for administrator. When open the same page using force.com site, page displaying only data but not pagination,sorting, search text. Which mean force.com site not supporting jQuery datatables plugin for me.

Can any one help on this, how can i fix this issue.

thanks,

2
  • 1
    did u chk the browser console ? is the jquery datatables script getting loaded ? – Vamsi Krishna Gosu Oct 26 '15 at 10:34
  • It would be good to see a little of the code you're using. Does script load? Did you set the static resource to global access? Is there a conflict? Errors in browser dev tools? Sites is a web UI running in a browser, so "not support" seems unlikely. – pchittum Oct 26 '15 at 10:57
0

Go to your jQuery DataTables Static Resource record in Setup and make sure that its Cache Control property is set to Public, otherwise the Static Resource will not be accessible by a public site user.

enter image description here

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.