• Aravind MS
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

So I have been asked to rebuild and move everything on our IIS box to Salesforce Sites. Yeah, I know, crazy right. I'm not the decision maker, I'm just the schlep that needs to deliver on the decision makers promises.

 

Anyway, one problem that I don't know how to solve is delivering my JavaScript widgets with Visualforce. Can it be done? Can I do something like this...

 

<apex:page contentType="application/javascript">

Basically I need to prove that I can or can't host my js files on Salesforce in a way that other sites can access them, you know, something like the Google CDN or Yahoo CDN.

 

Any input will be reward with my gratitude.

 

  • February 25, 2010
  • Like
  • 0