Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
javascript include for cross-branch
ShovelFace
O/S: Solaris
TS: 6.5 SP2
When including a common .js library in FormAPI, if the .js is in the /iwmnt/default/main/ABC/WORKAREA/DEF/templatedata folder, works fine, as follows:
script language="javascript" type="text/javascript" location="template-type" src="common.js"/
If I instead specify the full path to the common.js as follows, and change the location tag to 'webserver', it no longer works:
script language="javascript" type="text/javascript" location="webserver" src="/iwmnt/default/main/ABC/WORKAREA/DEF/templatedata/common.js"/
Any thoughts? Once this works, the common.js file will then be moved to another branch and refereced according as per the broken example above.
Find more posts tagged with
Comments
Migrateduser
I dont think /iwmnt/default/main/ABC/WORKAREA/DEF/templatedata/common.js is valid URL so try /iw/cci/meta/no-injection/iwmnt/default/main/ABC/WORKAREA/DEF/templatedata/common.js .
Adam Stoller
Responded in your OTHER thread.
If you're going to try to fix one of your posts by starting yet another thread - PLEASE CLOSE the old thread.