Jump to content

Store External JavaScript


Recommended Posts

Thanks. That's what I thought, but it's still a little disappointing.

Since files can be uploaded into the Caspio system, there should be URLs available.

It would be easiest to implement scripts with an external reference like..

<SCRIPT TYPE="text/javascript" SRC="foo.js" />

And, if changes needed to be made to the code later, it would have to be modified in every single DataPage.

Link to comment
Share on other sites

  • 1 year later...

If you need to have an external JaveSceipt code and then reference to it from your DataPages and are using the “Embedded Deploy†method please follow the below steps:

1- Save the JS file say “webentry.js†into your server so there will be a reference to it like this: http://www.yoursite.com/ webentry.js .

2- In your Web pages place below reference, “above†your Caspio DataPage deploy code:

Caspio Deploy Code .....

That's it :mrgreen:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...